Partager via


View::ActiveScopeNode property

The ActiveScopeNode property sets or returns the scope node that owns the view. This property is read/write.

Syntax

Property ActiveScopeNode As Node

Property value

The scope node, as a Node object, that owns the view.

Examples

' Retrieve the View's ActiveScopeNode.
Dim objScopeNode As MMC20.Node
Set objScopeNode = objView.ActiveScopeNode
 
' Use the scope node.
' ...
 
' Free the object when done.
Set objScopeNode = Nothing
 
' Set the active scope node.
' objNewNode is a previously assigned Node object.
objView.ActiveScopeNode = objNewNode

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38

See also

Node object