This documentation is archived and is not being maintained.

RootNode Interface

Exchange Server 2003

RootNode Interface

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The TreeView control contains a RootNode object and the RootNodes collection. The following topics describe the properties and methods for the RootNode interface.

A root node is a URL to a virtual directory in the Exchange store, such as a URL to mailbox stores or public folders. A new public folder tree must be configured as a virtual directory using the Exchange System Manager. Example URLs are shown in the following table.

Root node example URL Description
http://servername/public The URL to the default public folder tree, used by MAPI clients as installed by Microsoft® Exchange Server 2003
http://servername/exchange/username The URL to a private mailbox
http://servername/pft_1 The URL to a new public folder tree
http://servername/pft_2 The URL to a new public folder tree

You can ascertain URLs, the display name, and authentication information from a RootNode object. Each root node can have its own authorization information.

Member Summary


Name Type Description
AuthorizationNotRequired Property Boolean Specifies whether or not authorization is required to access a root node.
DisplayName Property String Specifies the display name of the root node.
Count Property Long Specifies the number of Node objects in the collection. Read-only.
Item Property IBodyPart Specifies the BodyPart object that is specified by the index. Read-only.
NewEnum Property IEnumVARIANT Specifies an IEnumVARIANT interface on an Enumeration object for the collection. This property is hidden from Microsoft Visual Basic® and Visual Basic Scripting Edition (VBScript).
Password Property String Specifies the password to access to the root node.
URL Property String Specifies the URL of the root node.
UserName Property String Specifies the user name to access to the root node.


Name Description
Add Method Adds a root node to the collection.
Warning  This method is for future use and is not currently implemented. Instead, use the EXTV AddRootNode Method.