Share via


VirtualRoot Property (RenderingApplication Object)

VirtualRoot Property (RenderingApplication Object)

Important  The Collaboration Data Objects (CDO) 1.2.1 Rendering objects are not installed by or supported for use with Exchange Server 2003 or later.

The VirtualRoot property returns or sets the beginning of a URL. Read/write.

Syntax

objRendApp.VirtualRoot

Data Type

String

Remarks

The VirtualRoot property contains the common beginning of a set of HTTP paths, which normally correspond to disk paths on the server specified in the URL. VirtualRoot should always start with a forward slash (/).

Setting the VirtualRoot property causes the rendering application to create a special-purpose format with the name virtroot. This format contains the string that was last set in VirtualRoot. The %virtroot% format can be used as a common beginning for HTTP paths when creating links to objects such as attachments.

Note that the VirtualRoot property contains an HTTP path at the browser, while the FormsRoot property contains an absolute disk directory path at Microsoft® Internet Information Server (IIS).

The VirtualRoot property defaults to /exchange.

See Also

Concepts

RenderingApplication Object