次の方法で共有


View::DeleteScopeNode method

The DeleteScopeNode method executes the Delete command for the specified node. If the context menu does not support Delete, then this method will not perform any operation.

Syntax

View.DeleteScopeNode( _
  ByVal ScopeNode As Variant _
)

Parameters

ScopeNode

Optional. A value that specifies the node to be deleted; if this parameter is not specified, the active scope node is used.

Return value

This method does not return a value.

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.DeleteSelection