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

Visual Basic
Dim rootView As View
Dim scopeNode As ScopeNode
Dim nodeType As Guid

UtilityClass.FindAndSelectScopeNode(rootView, scopeNode, nodeType)

Syntax

Visual Basic
Public Shared Sub FindAndSelectScopeNode ( _
		rootView As View, _
		scopeNode As ScopeNode, _
		nodeType As Guid _
)
C#
public static void FindAndSelectScopeNode (
		View rootView,
		ScopeNode scopeNode,
		Guid nodeType
)
C++
public:
static void FindAndSelectScopeNode (
		View^ rootView, 
		ScopeNode^ scopeNode, 
		Guid nodeType
)
J#
public static void FindAndSelectScopeNode (
		View rootView, 
		ScopeNode scopeNode, 
		Guid nodeType
)
JScript
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