Share via


IManagementPackManagement.ImportManagementPack Method (ManagementPack)

Imports a single management pack into the current management group.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As IManagementPackManagement
Dim managementPack As ManagementPack

instance.ImportManagementPack(managementPack)

Syntax

'Declaration
Sub ImportManagementPack ( _
    managementPack As ManagementPack _
)
void ImportManagementPack (
    ManagementPack managementPack
)
void ImportManagementPack (
    ManagementPack^ managementPack
)
void ImportManagementPack (
    ManagementPack managementPack
)
function ImportManagementPack (
    managementPack : ManagementPack
)

Parameters

  • managementPack
    The management pack.

Exceptions

Exception type Condition
ServerDisconnectedException

An error has occurred.

ArgumentNullException

The managementPack parameter is a null reference (Nothing in Visual Basic).

ArgumentException

The management pack referenced by the managementPack parameter did not import.

Thread Safety

This method is 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