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

Usage

Visual Basic
Dim instance As IEntityTypeManagement
Dim id As Guid
Dim returnValue As ManagementPackClass

returnValue = instance.GetClass(id)

Syntax

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

Parameters

id

Type: Guid

The unique identifier of the class.

Return Value

Type: ManagementPackClass The management pack class.

Exceptions

Exception type Condition
ObjectNotFoundException

The ManagementPackCategory type that is identified by the id parameter was not found.

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