RootNode Interface

Topic Last Modified: 2006-06-13

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

https://servername/public

The URL to the default public folder tree, used by MAPI clients as installed by Microsoft® Exchange Server 2007

https://servername/exchange/username

The URL to a private mailbox

https://servername/pft_1

The URL to a new public folder tree

https://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

Properties

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.

Methods

Name Description

Add Method

Adds a root node to the collection.

Aa565686.note(en-us,EXCHG.80).gifNote:
This method is for future use and is not currently implemented. Instead, use the EXTV AddRootNode Method.