Partager via


IManagementPackManagement.TryImportManagementPack Method (ManagementPack, IDictionary)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As IManagementPackManagement
Dim managementPack As ManagementPack
Dim resources As IDictionary(Of String, ResourceStream)
Dim returnValue As IList(Of ManagementPackVerificationResult)

returnValue = instance.TryImportManagementPack(managementPack, resources)

Syntax

'Declaration
Function TryImportManagementPack ( _
    managementPack As ManagementPack, _
    resources As IDictionary(Of String, ResourceStream) _
) As IList(Of ManagementPackVerificationResult)
IList<ManagementPackVerificationResult> TryImportManagementPack (
    ManagementPack managementPack,
    IDictionary<string,ResourceStream> resources
)
IList<ManagementPackVerificationResult^>^ TryImportManagementPack (
    ManagementPack^ managementPack, 
    IDictionary<String^, ResourceStream^>^ resources
)
IList<ManagementPackVerificationResult> TryImportManagementPack (
    ManagementPack managementPack, 
    IDictionary<String,ResourceStream> resources
)
function TryImportManagementPack (
    managementPack : ManagementPack, 
    resources : IDictionary<String,ResourceStream>
) : IList<ManagementPackVerificationResult>

Parameters

  • managementPack
    The management pack to import.
  • resources
    The resource files that are referenced by the management pack. The files are imported with the management pack.

Return Value

The list of verification results.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be 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