[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets a single category 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 ManagementPackCategory

returnValue = instance.GetCategory(id)

Syntax

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

Parameters

id

Type: Guid

The unique identifier of a category.

Return Value

Type: ManagementPackCategory The category.

Exceptions

Exception type Condition
ObjectNotFoundException

The ManagementPackCategory type 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