SnapIn::EnableAllExtensions method
The EnableAllExtensions method determines whether or not all extensions for the snap-in are enabled. This method is the programmatic equivalent of the "Add all extensions" check box in the Snap-In Manager.
Syntax
SnapIn.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, call this method with Enable set to 0 and then call Extension.Enable to enable or disable individual extension snap-ins.
Return value
This method does not return a value.
Examples
' Add all extensions.
objSnap.EnableAllExtensions (1)
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_SnapIn is defined as 3BE910F6-3459-49C6-A1BB-41E6BE9DF3EA |