Share via


IManagementPackManagement.BeginUninstallBundle Method

Definition

Asynchronously starts to uninstall each management pack in the management pack bundle.

Overloads

BeginUninstallBundle(ManagementPackBundle, AsyncCallback, Object)

Asynchronously starts to uninstall each management pack in the management pack bundle.

BeginUninstallBundle(ManagementPackBundle, ImportPackagedManagementPackCallback, AsyncCallback, Object)

Asynchronously starts to uninstall each management pack in the management pack bundle. If the handler callback returns true, the pack will be uninstalled.

BeginUninstallBundle(ManagementPackBundle, AsyncCallback, Object)

Asynchronously starts to uninstall each management pack in the management pack bundle.

public:
 IAsyncResult ^ BeginUninstallBundle(Microsoft::EnterpriseManagement::Packaging::ManagementPackBundle ^ package, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginUninstallBundle (Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle package, AsyncCallback callback, object state);
abstract member BeginUninstallBundle : Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle * AsyncCallback * obj -> IAsyncResult
Public Function BeginUninstallBundle (package As ManagementPackBundle, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

package
ManagementPackBundle

The management pack package that will be uninstalled.

callback
AsyncCallback

The callback method that is called when the management pack bundle uninstall has completed.

state
Object

The optional state object to pass back to the callback method.

Returns

The status of the asynchronous request.

Exceptions

The package parameter is a null reference (Nothing in Visual Basic).

Applies to

BeginUninstallBundle(ManagementPackBundle, ImportPackagedManagementPackCallback, AsyncCallback, Object)

Asynchronously starts to uninstall each management pack in the management pack bundle. If the handler callback returns true, the pack will be uninstalled.

public:
 IAsyncResult ^ BeginUninstallBundle(Microsoft::EnterpriseManagement::Packaging::ManagementPackBundle ^ package, Microsoft::EnterpriseManagement::ImportPackagedManagementPackCallback ^ handler, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginUninstallBundle (Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle package, Microsoft.EnterpriseManagement.ImportPackagedManagementPackCallback handler, AsyncCallback callback, object state);
abstract member BeginUninstallBundle : Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle * Microsoft.EnterpriseManagement.ImportPackagedManagementPackCallback * AsyncCallback * obj -> IAsyncResult
Public Function BeginUninstallBundle (package As ManagementPackBundle, handler As ImportPackagedManagementPackCallback, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

package
ManagementPackBundle

The management pack package that will be uninstalled.

handler
ImportPackagedManagementPackCallback

The callback that decides whether or not each management pack in the bundle should be uninstalled.

callback
AsyncCallback

The callback method that is called when the management pack bundle uninstall has completed.

state
Object

The optional state object to pass back to the callback method.

Returns

The status of the asynchronous request.

Exceptions

The handler parameter is a null reference (Nothing in Visual Basic).

-or-

The package parameter is a null reference (Nothing in Visual Basic).

Applies to

Thread Safety

These methods are thread safe.