Uninstalls the specified management pack from the management group. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ManagementGroup
Dim managementPack As ManagementPack

instance.UninstallManagementPack(managementPack)

Syntax

Visual Basic
Public Sub UninstallManagementPack ( _
		managementPack As ManagementPack _
)
C#
public void UninstallManagementPack (
		ManagementPack managementPack
)
C++
public:
void UninstallManagementPack (
		ManagementPack^ managementPack
)
J#
public void UninstallManagementPack (
		ManagementPack managementPack
)
JScript
public function UninstallManagementPack (
		managementPack : ManagementPack
)

Parameters

managementPack

The management pack to uninstall.

Example

For an example of the UninstallManagementPack method, see How to Create and Import a New Management Pack by Using the Operations Manager SDK.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

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

See Also