[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets a management pack object by unique identifier. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As IManagementPackManagement
Dim id As Guid
Dim returnValue As ManagementPack

returnValue = instance.GetManagementPack(id)

Syntax

Visual Basic
Function GetManagementPack ( _
		id As Guid _
) As ManagementPack
C#
ManagementPack GetManagementPack (
		Guid id
)
C++
ManagementPack^ GetManagementPack (
		Guid id
)
J#
ManagementPack GetManagementPack (
		Guid id
)
JScript
function GetManagementPack (
		id : Guid
) : ManagementPack

Parameters

id

Type: Guid

The unique identifier of a management pack.

Return Value

Type: ManagementPack The management pack.

Exceptions

Exception type Condition
ObjectNotFoundException

The ManagementPack type that is identified by the id parameter does not exist.

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