The GetRoot method returns the root node of the scope namespace.
Syntax
ScopeNamespace.GetRoot() As Node
Parameters
This method has no parameters.
Examples
' Retrieve the Root of the ScopeNameSpace.
Dim objSNSRoot As Node
Set objSNSRoot = objScopeNS.GetRoot()
' Use the object; this code displays the Name property.
MsgBox (objSNSRoot.Name)
' Free the object when done.
Set objSNSRoot = Nothing
Requirements
| Minimum supported client |
Windows Vista |
| Minimum supported server |
Windows Server 2008 |
| Header |
|
| IDL |
|
| DLL |
|
| IID |
IID_ScopeNamespace is defined as EBBB48DC-1A3B-4D86-B786-C21B28389012 |