Share via


ManagementGroup.BeginImportManagementPack Method

Definition

Caution

Please use ManagementPacks.BeginImportManagementPack()

Inserts the management pack into this ManagementGroup.

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

Parameters

managementPack
ManagementPack

The xml management pack to insert.

callback
AsyncCallback

The callback.

state
Object

The state to pass to the callback.

Returns

Returns anIAsyncResultobject.

Attributes

Exceptions

managementPack is null

managementPack is null

Applies to