IManagementPackManagement.TryImportManagementPack Method

Definition

Tries to import a management pack into the current management group.

Overloads

TryImportManagementPack(ManagementPack)

Tries to import the specified management pack into the current management group.

TryImportManagementPack(ManagementPack, IDictionary<String,ResourceStream>)

Tries to import the specified management pack into the current management group with resource data streams.

TryImportManagementPack(ManagementPack)

Tries to import the specified management pack into the current management group.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::Verification::ManagementPackVerificationResult ^> ^ TryImportManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.Verification.ManagementPackVerificationResult> TryImportManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
abstract member TryImportManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.Verification.ManagementPackVerificationResult>
Public Function TryImportManagementPack (managementPack As ManagementPack) As IList(Of ManagementPackVerificationResult)

Parameters

managementPack
ManagementPack

The management pack to import.

Returns

The list of verification results.

Applies to

TryImportManagementPack(ManagementPack, IDictionary<String,ResourceStream>)

Tries to import the specified management pack into the current management group with resource data streams.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::Verification::ManagementPackVerificationResult ^> ^ TryImportManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack, System::Collections::Generic::IDictionary<System::String ^, Microsoft::EnterpriseManagement::Common::ResourceStream ^> ^ resources);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.Verification.ManagementPackVerificationResult> TryImportManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack, System.Collections.Generic.IDictionary<string,Microsoft.EnterpriseManagement.Common.ResourceStream> resources);
abstract member TryImportManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack * System.Collections.Generic.IDictionary<string, Microsoft.EnterpriseManagement.Common.ResourceStream> -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.Verification.ManagementPackVerificationResult>
Public Function TryImportManagementPack (managementPack As ManagementPack, resources As IDictionary(Of String, ResourceStream)) As IList(Of ManagementPackVerificationResult)

Parameters

managementPack
ManagementPack

The management pack to import.

resources
IDictionary<String,ResourceStream>

The resource files that are referenced by the management pack. The files are imported with the management pack.

Returns

The list of verification results.

Applies to