Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As IManagementPackManagement Dim managementPack As ManagementPack Dim resources As IDictionary(Of String, ResourceStream) instance.ImportManagementPack(managementPack, resources) |
Syntax
Visual Basic |
---|
Sub ImportManagementPack ( _ managementPack As ManagementPack, _ resources As IDictionary(Of String, ResourceStream) _ ) |
C# |
---|
void ImportManagementPack ( ManagementPack managementPack, IDictionary<string,ResourceStream> resources ) |
C++ |
---|
void ImportManagementPack ( ManagementPack^ managementPack, IDictionary<String^, ResourceStream^>^ resources ) |
J# |
---|
void ImportManagementPack ( ManagementPack managementPack, IDictionary<String,ResourceStream> resources ) |
JScript |
---|
function ImportManagementPack ( managementPack : ManagementPack, resources : IDictionary<String,ResourceStream> ) |
Parameters
- managementPack
-
Type: ManagementPack
The management pack.
- resources
-
Type: ResourceStream}
The management pack’s resources.
Exceptions
Exception type | Condition |
---|---|
ServerDisconnectedException |
An error has occurred. |
ArgumentNullException |
The managementPack parameter is a null reference (Nothing in Visual Basic). -or- The resources parameter is a null reference (Nothing in Visual Basic). |
ArgumentException |
The management pack that is referenced by the managementPack parameter did not import. |
Thread Safety
This method is thread safe.