Share via


ManagementGroup.UninstallManagementPack(ManagementPack) Method

Definition

Caution

Please use ManagementPacks.UninstallManagementPack()

Uninstalls the given management pack from the system.

public:
 void UninstallManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack);
[System.Obsolete("Please use ManagementPacks.UninstallManagementPack()")]
public void UninstallManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
member this.UninstallManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack -> unit
Public Sub UninstallManagementPack (managementPack As ManagementPack)

Parameters

managementPack
ManagementPack

The management pack to uninstall.

Attributes

Exceptions

managementPack is null

The management pack could not be uninstalled. See inner exception for details.

Examples

For an example of theUninstallManagementPack method, seeHow to Import a New Management Pack

Applies to

See also