Export (0) Print
Expand All

IVsExtensionManager.Disable Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Prevents an installed extension from being loaded. This action may require a restart of Visual Studio.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

RestartReason Disable(
	IInstalledExtension extension


Type: Microsoft.VisualStudio.ExtensionManager.IInstalledExtension

The extension to be disabled.

Return Value

Type: Microsoft.VisualStudio.ExtensionManager.RestartReason
PendingDisable if a restart of Visual Studio is required; otherwise, None.

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

Community Additions

© 2014 Microsoft