Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As IManagementPackManagement Dim managementPack As ManagementPack instance.UninstallManagementPack(managementPack) |
Syntax
Visual Basic |
---|
Sub UninstallManagementPack ( _ managementPack As ManagementPack _ ) |
C# |
---|
void UninstallManagementPack ( ManagementPack managementPack ) |
C++ |
---|
void UninstallManagementPack ( ManagementPack^ managementPack ) |
J# |
---|
void UninstallManagementPack ( ManagementPack managementPack ) |
JScript |
---|
function UninstallManagementPack ( managementPack : ManagementPack ) |
Parameters
- managementPack
-
Type: ManagementPack
The management pack.
Exceptions
Exception type | Condition |
---|---|
ServerDisconnectedException |
An error has occurred. |
ArgumentNullException |
The managementPack parameter is a null reference (Nothing in Visual Basic). |
InvalidOperationException |
The management pack that is referenced by the managementPack parameter did not uninstall. |
Thread Safety
This method is thread safe.