Windows Media Services SDK banner art
PreviousNext

VirtualRoots Property

Obtains a collection object of all virtual roots.

Syntax

NSUnicastMgr.VirtualRoots

Example

For Each VirtualRoot in NSUnicastMgr.VirtualRoots
 ' Show the path of each virtual root
 MsgBox (VirtualRoot.DirectoryPath)
Next

Remarks

A virtual root associates a folder on a server's hard disk with a folder that appears in the Uniform Resource Locator (URL) of a title. For example, you can create a virtual root called MyRoot on a server named MyServer that is associated with the folder C:\MyRootFiles. Then a file named MyFile.asf placed in the MyRootFiles folder is referred to by the URL mms://MyServer/MyRoot/MyFile.asf.

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.