共用方式為


IManagementPackManagement.TryImportBundle Method (ManagementPackBundle)

[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 bundle into the system. All management packs in this bundle get imported.

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

Usage

'Usage
Dim instance As IManagementPackManagement
Dim package As ManagementPackBundle
Dim returnValue As IList(Of ManagementPackVerificationResult)

returnValue = instance.TryImportBundle(package)

Syntax

'Declaration
Function TryImportBundle ( _
    package As ManagementPackBundle _
) As IList(Of ManagementPackVerificationResult)
IList<ManagementPackVerificationResult> TryImportBundle (
    ManagementPackBundle package
)
IList<ManagementPackVerificationResult^>^ TryImportBundle (
    ManagementPackBundle^ package
)
IList<ManagementPackVerificationResult> TryImportBundle (
    ManagementPackBundle package
)
function TryImportBundle (
    package : ManagementPackBundle
) : IList<ManagementPackVerificationResult>

Parameters

  • package
    The management pack bundle to import.

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