[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

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.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also