Partager via


Extension::Enable method

The Enable method enables or disables the extension.

Syntax

Extension.Enable( _
  ByVal Enable As Long _
)

Parameters

Enable

If this parameter is 1, then the extension is enabled and available for use. If this parameter is 0, the extension is disabled.

Return value

This method does not return a value.

Examples

' Enable this extension.
objExt.Enable (1)

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