VirtualRoots.SetAsHome Method

This method sets the virtual root specified by the index value to be the home root.

Syntax

NSUnicastMgr.VirtualRoots.SetAsHome( Index )

Parameters

Index

The index value is defined as a variant type. It can be expressed in the following different ways:

Syntax Type Definition
Item( 0 ) Integer Position of the element in the collection.
Item( “0” ) String Position of the element in the collection.
Item( 0.0 ) Real Position of the element in the collection.
Item( “Alias” ) String The alias name of the virtual root.
Item( “\Path\Dir” ) String The directory path of the virtual root.

String values are assumed to be the alias name or directory path unless the search for a corresponding virtual root fails. Then the system attempts to convert the string to a number and search for the virtual root by its position in the collection.

Remarks

The home root is the starting point of the virtual root hierarchy. The system searches for all virtual roots in the collection relative to the home root specified by the VirtualRoot.Directory property specified by the Index parameter of this method.

See Also

VirtualRoot.DirectoryPath

© 1996-1998 Microsoft Corporation. All rights reserved.