UtilityClass.FindAndSelectScopeNode Method
Searches the scope node children for the requested scope node type (GUID) and navigates to the node that matches the search criteria.
Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)
Usage
'Usage
Dim rootView As View
Dim scopeNode As ScopeNode
Dim nodeType As Guid
UtilityClass.FindAndSelectScopeNode(rootView, scopeNode, nodeType)
Syntax
'Declaration
Public Shared Sub FindAndSelectScopeNode ( _
rootView As View, _
scopeNode As ScopeNode, _
nodeType As Guid _
)
public static void FindAndSelectScopeNode (
View rootView,
ScopeNode scopeNode,
Guid nodeType
)
public:
static void FindAndSelectScopeNode (
View^ rootView,
ScopeNode^ scopeNode,
Guid nodeType
)
public static void FindAndSelectScopeNode (
View rootView,
ScopeNode scopeNode,
Guid nodeType
)
public static function FindAndSelectScopeNode (
rootView : View,
scopeNode : ScopeNode,
nodeType : Guid
)
Parameters
- rootView
[in] Microsoft.ManagementConsole.View object.
- scopeNode
[in] Microsoft.ManagementConsole.ScopeNode object.
- nodeType
[in] GUID that represents the scope node type.
Exceptions
Exception type | Condition |
---|---|
KeyNotFoundException | The requested node could not be found. |
ArgumentException | The nodeType parameter cannot be empty. |
ArgumentNullException | The scopeNode parameter cannot be null. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also
Reference
UtilityClass Class
UtilityClass Members
Microsoft.ConfigurationManagement.AdminConsole Namespace