Reverts an uninstalled extension to an installed state.
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
This API only succeeds for extensions that have been uninstalled through the Uninstall API. Furthermore, this API must be called before Extension Manager is restarted because pending uninstallations are cleaned up during initialization. Otherwise, a NotPendingDeletionException will be thrown.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.