[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Imports a single management pack into the current management group. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As IManagementPackManagement
Dim managementPack As ManagementPack

instance.ImportManagementPack(managementPack)

Syntax

Visual Basic
Sub ImportManagementPack ( _
		managementPack As ManagementPack _
)
C#
void ImportManagementPack (
		ManagementPack managementPack
)
C++
void ImportManagementPack (
		ManagementPack^ managementPack
)
J#
void ImportManagementPack (
		ManagementPack managementPack
)
JScript
function ImportManagementPack (
		managementPack : ManagementPack
)

Parameters

managementPack

Type: 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also