Share via


IEntityTypeManagement.GetCategory Method

Gets a single category by using an identifier.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As IEntityTypeManagement
Dim id As Guid
Dim returnValue As ManagementPackCategory

returnValue = instance.GetCategory(id)

Syntax

'Declaration
Function GetCategory ( _
    id As Guid _
) As ManagementPackCategory
ManagementPackCategory GetCategory (
    Guid id
)
ManagementPackCategory^ GetCategory (
    Guid id
)
ManagementPackCategory GetCategory (
    Guid id
)
function GetCategory (
    id : Guid
) : ManagementPackCategory

Parameters

  • id
    The unique identifier of a category.

Return Value

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

IEntityTypeManagement Interface
IEntityTypeManagement Members
Microsoft.EnterpriseManagement Namespace