View::SnapinScopeObject method

The SnapinScopeObject method returns the automation interface supplied by the snap-in for the specified scope node.

Syntax

View.SnapinScopeObject( _
  ByVal ScopeNode As Variant _
) As Object

Parameters

ScopeNode

Optional. Scope node that contains the object. If this parameter is not specified, then the object will be retrieved from the active scope node.

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

View.SnapinSelectionObject