Asynchronously imports a management pack. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ManagementGroup
Dim managementPack As ManagementPack
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginImportManagementPack(managementPack, callback, state)

Syntax

Visual Basic
Public Function BeginImportManagementPack ( _
		managementPack As ManagementPack, _
		callback As AsyncCallback, _
		state As Object _
) As IAsyncResult
C#
public IAsyncResult BeginImportManagementPack (
		ManagementPack managementPack,
		AsyncCallback callback,
		Object state
)
C++
public:
IAsyncResult^ BeginImportManagementPack (
		ManagementPack^ managementPack, 
		AsyncCallback^ callback, 
		Object^ state
)
J#
public IAsyncResult BeginImportManagementPack (
		ManagementPack managementPack, 
		AsyncCallback callback, 
		Object state
)
JScript
public function BeginImportManagementPack (
		managementPack : ManagementPack, 
		callback : AsyncCallback, 
		state : Object
) : IAsyncResult

Parameters

managementPack

The management pack to import into the management group.

callback

The callback method that gets called when the management pack is imported.

state

The optional state to pass back to the callback method.

Return Value

Returns an IAsyncResult object.

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