IManagementPackManagement.BeginImportBundle Method (ManagementPackBundle, AsyncCallback, Object)
Asynchronously starts to import a single management pack bundle.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
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
'Declaration
Function BeginImportBundle ( _
package As ManagementPackBundle, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
IAsyncResult BeginImportBundle (
ManagementPackBundle package,
AsyncCallback callback,
Object state
)
IAsyncResult^ BeginImportBundle (
ManagementPackBundle^ package,
AsyncCallback^ callback,
Object^ state
)
IAsyncResult BeginImportBundle (
ManagementPackBundle package,
AsyncCallback callback,
Object state
)
function BeginImportBundle (
package : ManagementPackBundle,
callback : AsyncCallback,
state : Object
) : IAsyncResult
Parameters
- package
The management pack bundle to import.
- callback
The callback method that is called when the management pack bundle import has completed.
- state
The optional state object to pass back to the callback method.
Return Value
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.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
IManagementPackManagement Interface
IManagementPackManagement Members
Microsoft.EnterpriseManagement Namespace