IManagementPackManagement.BeginImportBundle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously starts to import a single management pack bundle. A management pack bundle is a file that can contain multiple management packs and resource files, for example, two management packs and a form assembly packaged in a Windows Installer file.
Overloads
BeginImportBundle(ManagementPackBundle, AsyncCallback, Object) |
Asynchronously starts to import a single management pack bundle. |
BeginImportBundle(ManagementPackBundle, ImportPackagedManagementPackCallback, AsyncCallback, Object) |
Asynchronously starts to import a single management pack bundle. If the handler callback returns true, the pack will be imported. |
BeginImportBundle(ManagementPackBundle, AsyncCallback, Object)
Asynchronously starts to import a single management pack bundle.
public:
IAsyncResult ^ BeginImportBundle(Microsoft::EnterpriseManagement::Packaging::ManagementPackBundle ^ package, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginImportBundle (Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle package, AsyncCallback callback, object state);
abstract member BeginImportBundle : Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle * AsyncCallback * obj -> IAsyncResult
Public Function BeginImportBundle (package As ManagementPackBundle, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- package
- ManagementPackBundle
The management pack bundle to import.
- callback
- AsyncCallback
The callback method that is called when the management pack bundle import has completed.
- state
- Object
The optional state object to pass back to the callback method.
Returns
The status of the asynchronous request.
Exceptions
The package
parameter is a null reference (Nothing in Visual Basic).
Applies to
BeginImportBundle(ManagementPackBundle, ImportPackagedManagementPackCallback, AsyncCallback, Object)
Asynchronously starts to import a single management pack bundle. If the handler callback returns true, the pack will be imported.
public:
IAsyncResult ^ BeginImportBundle(Microsoft::EnterpriseManagement::Packaging::ManagementPackBundle ^ package, Microsoft::EnterpriseManagement::ImportPackagedManagementPackCallback ^ handler, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginImportBundle (Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle package, Microsoft.EnterpriseManagement.ImportPackagedManagementPackCallback handler, AsyncCallback callback, object state);
abstract member BeginImportBundle : Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle * Microsoft.EnterpriseManagement.ImportPackagedManagementPackCallback * AsyncCallback * obj -> IAsyncResult
Public Function BeginImportBundle (package As ManagementPackBundle, handler As ImportPackagedManagementPackCallback, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- package
- ManagementPackBundle
The management pack bundle to import.
The callback that decides whether each management pack in the bundle should be imported.
- callback
- AsyncCallback
The callback method that is called when the management pack bundle import has completed.
- state
- Object
The optional state object to pass back to the callback method.
Returns
The status of the asynchronous request.
Exceptions
The package
parameter is a null reference (Nothing in Visual Basic); or the handler
parameter is a null reference (Nothing in Visual Basic).
Applies to
Thread Safety
These methods are thread safe.