Extension::EnableAllExtensions method

The EnableAllExtensions method determines whether or not all extensions for the extension snap-in are enabled. This method is the programmatic equivalent of the Add all extensions check box in the Snap-In Manager.

Syntax


Extension.EnableAllExtensions( _
  ByVal Enable As Long _
)

Parameters

Enable

Value that determines whether all extensions are enabled. To add all available extensions, set Enable to 1. To add or exclude individual extensions, set Enable to 0, and then call Extension.Enable to enable or disable individual extension snap-ins.

Return value

This method does not return a value.

Remarks

The Extension object is a snap-in, and the EnableAllExtensions method applies to the extensions that can extend the Extension object.

Examples


objExt.EnableAllExtensions (0)
' This extension's extensions can now be enabled or disabled.
' ...

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.Enable
Extension.Extensions

 

 

Show: