Share via


ManagementGroup.BeginUninstallManagementPack Method

Definition

Caution

Please use ManagementPacks.BeginUninstallManagementPack()

Uninstalls the given management pack from the system.

public:
 IAsyncResult ^ BeginUninstallManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack, AsyncCallback ^ callback, System::Object ^ state);
[System.Obsolete("Please use ManagementPacks.BeginUninstallManagementPack()")]
public IAsyncResult BeginUninstallManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack, AsyncCallback callback, object state);
member this.BeginUninstallManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack * AsyncCallback * obj -> IAsyncResult
Public Function BeginUninstallManagementPack (managementPack As ManagementPack, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

managementPack
ManagementPack

The management pack to uninstall.

callback
AsyncCallback

The callback.

state
Object

The state to pass to the callback.

Returns

Returns anIAsyncResultobject.

Attributes

Exceptions

managementPack is null

Applies to

See also