Partager via


IManagementPackManagement.UninstallManagementPack Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Uninstalls the specified management pack.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As IManagementPackManagement
Dim managementPack As ManagementPack

instance.UninstallManagementPack(managementPack)

Syntax

'Declaration
Sub UninstallManagementPack ( _
    managementPack As ManagementPack _
)
void UninstallManagementPack (
    ManagementPack managementPack
)
void UninstallManagementPack (
    ManagementPack^ managementPack
)
void UninstallManagementPack (
    ManagementPack managementPack
)
function UninstallManagementPack (
    managementPack : ManagementPack
)

Parameters

  • 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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

IManagementPackManagement Interface
IManagementPackManagement Members
Microsoft.EnterpriseManagement Namespace