The GetParent method returns the parent node of the specified scope node.
Syntax
ScopeNamespace.GetParent( _
ByVal Node As Node _
) As Node
Parameters
-
Node
-
The scope node being queried.
Examples
' Retrieve the parent of the scope node.
Dim objParent As MMC20.Node
Set objParent = objScopeNS.GetParent(objNode)
' This code displays the Parent's name.
MsgBox (objNode.Name & _
"'s parent is " & objParent.Name)
' Free the object when done.
Set objParent = 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 |