[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Asynchronously starts to import a single management pack without resource data streams. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As IManagementPackManagement
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
Function BeginImportManagementPack ( _
		managementPack As ManagementPack, _
		callback As AsyncCallback, _
		state As Object _
) As IAsyncResult
C#
IAsyncResult BeginImportManagementPack (
		ManagementPack managementPack,
		AsyncCallback callback,
		Object state
)
C++
IAsyncResult^ BeginImportManagementPack (
		ManagementPack^ managementPack, 
		AsyncCallback^ callback, 
		Object^ state
)
J#
IAsyncResult BeginImportManagementPack (
		ManagementPack managementPack, 
		AsyncCallback callback, 
		Object state
)
JScript
function BeginImportManagementPack (
		managementPack : ManagementPack, 
		callback : AsyncCallback, 
		state : Object
) : IAsyncResult

Parameters

managementPack

Type: ManagementPack

The management pack to import.

callback

Type: AsyncCallback

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

state

Type: Object

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

Return Value

Type: IAsyncResult The status of the asynchronous request.

Exceptions

Exception type Condition
ArgumentNullException

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

ArgumentException

The ManagementPack type from the managementPack parameter is already in the management group.

Thread Safety

This method is thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also