Partager via


Extension::Extensions property

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

Syntax

Property Extensions As Extensions

Property value

The Extensions object for the snap-in.

Remarks

The Extension object is a snap-in, and the Extensions property represents the extensions that can extend the Extension object.

Examples

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

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmcndmgr.dll
IID
IID_Extension is defined as AD4D6CA6-912F-409b-A26E-7FD234AEF542

See also

Extension.EnableAllExtensions

Extensions collection