Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
| Visual Basic |
|---|
Dim instance As IManagementPackManagement Dim package As ManagementPackBundle Dim callback As AsyncCallback Dim state As Object Dim returnValue As IAsyncResult returnValue = instance.BeginImportBundle(package, callback, state) |
Syntax
| Visual Basic |
|---|
Function BeginImportBundle ( _ package As ManagementPackBundle, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult |
| C# |
|---|
IAsyncResult BeginImportBundle ( ManagementPackBundle package, AsyncCallback callback, Object state ) |
| C++ |
|---|
IAsyncResult^ BeginImportBundle ( ManagementPackBundle^ package, AsyncCallback^ callback, Object^ state ) |
| J# |
|---|
IAsyncResult BeginImportBundle ( ManagementPackBundle package, AsyncCallback callback, Object state ) |
| JScript |
|---|
function BeginImportBundle ( package : ManagementPackBundle, callback : AsyncCallback, state : Object ) : IAsyncResult |
Parameters
- package
-
Type: ManagementPackBundle
The management pack bundle to import.
- callback
-
Type: AsyncCallback
The callback method that is called when the management pack bundle 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 package parameter is a null reference (Nothing in Visual Basic). |
Thread Safety
This method is thread safe.

