次の方法で共有


SnapIn::Extensions property

The Extensions property returns the Extensions collection for the snap-in. This property is read-only.

Syntax

Property Extensions As Extensions

Property value

The Extensions collection for the snap-in.

Examples

' Retrieve the Extensions property.
Dim objExts As MMC20.Extensions
Set objExts = objSnap.Extensions
 
' Use the Extensions object.
' This code displays the Extensions count.
MsgBox ("Number of Extensions: " & objExts.Count)
 
' Free the object when done.
Set objExts = Nothing

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmcndmgr.dll
IID
IID_SnapIn is defined as 3BE910F6-3459-49C6-A1BB-41E6BE9DF3EA

See also

SnapIn.EnableAllExtensions

Extensions collection