[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets a single enumeration value by using the supplied 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 ManagementPackEnumeration

returnValue = instance.GetEnumeration(id)

Syntax

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

Parameters

id

Type: Guid

The unique identifier of an enumeration.

Return Value

Type: ManagementPackEnumeration The enumeration.

Exceptions

Exception type Condition
ObjectNotFoundException

The ManagementPackEnumeration 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