Partager via


ITypeDefinitionsManagement.GetSchemaType Method

Gets a schema type by using an identifier.

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

Usage

'Usage
Dim instance As ITypeDefinitionsManagement
Dim id As Guid
Dim returnValue As ManagementPackSchemaType

returnValue = instance.GetSchemaType(id)

Syntax

'Declaration
Function GetSchemaType ( _
    id As Guid _
) As ManagementPackSchemaType
ManagementPackSchemaType GetSchemaType (
    Guid id
)
ManagementPackSchemaType^ GetSchemaType (
    Guid id
)
ManagementPackSchemaType GetSchemaType (
    Guid id
)
function GetSchemaType (
    id : Guid
) : ManagementPackSchemaType

Parameters

  • id
    Type: Guid

    The schema type identifier.

Return Value

Type: ManagementPackSchemaType

The schema type.

Exceptions

Exception type Condition
ObjectNotFoundException

The schema type that is referenced by the id parameter does not exist.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ITypeDefinitionsManagement Interface
ITypeDefinitionsManagement Members
Microsoft.EnterpriseManagement Namespace