IManagementPackManagement.BeginImportManagementPack 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.
Overloads
BeginImportManagementPack(ManagementPack, AsyncCallback, Object) |
Asynchronously starts to import a single management pack without resource data streams. |
BeginImportManagementPack(ManagementPack, IDictionary<String,ResourceStream>, AsyncCallback, Object) |
Asynchronously starts to import a single management pack with resource data streams. |
BeginImportManagementPack(ManagementPack, AsyncCallback, Object)
Asynchronously starts to import a single management pack without resource data streams.
public:
IAsyncResult ^ BeginImportManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginImportManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack, AsyncCallback callback, object state);
abstract member BeginImportManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack * AsyncCallback * obj -> IAsyncResult
Public Function BeginImportManagementPack (managementPack As ManagementPack, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- managementPack
- ManagementPack
The management pack to import.
- callback
- AsyncCallback
The callback method that is called when the management pack 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 managementPack
parameter is a null reference (Nothing in Visual Basic).
The ManagementPack type from the managementPack
parameter is already in the management group.
Applies to
BeginImportManagementPack(ManagementPack, IDictionary<String,ResourceStream>, AsyncCallback, Object)
Asynchronously starts to import a single management pack with resource data streams.
public:
IAsyncResult ^ BeginImportManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack, System::Collections::Generic::IDictionary<System::String ^, Microsoft::EnterpriseManagement::Common::ResourceStream ^> ^ resources, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginImportManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack, System.Collections.Generic.IDictionary<string,Microsoft.EnterpriseManagement.Common.ResourceStream> resources, AsyncCallback callback, object state);
abstract member BeginImportManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack * System.Collections.Generic.IDictionary<string, Microsoft.EnterpriseManagement.Common.ResourceStream> * AsyncCallback * obj -> IAsyncResult
Public Function BeginImportManagementPack (managementPack As ManagementPack, resources As IDictionary(Of String, ResourceStream), callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- managementPack
- ManagementPack
The management pack to import.
- resources
- IDictionary<String,ResourceStream>
The resource files that are referenced by the management pack. The files will be imported with the management pack.
- callback
- AsyncCallback
The callback method that is called when the management pack 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 managementPack
parameter is a null reference (Nothing in Visual Basic).
The ManagementPack type from the managementPack
parameter is already in the management group.
Applies to
Thread Safety
These methods are thread safe.