[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets a single relationship class object from the supplied unique 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 ManagementPackRelationship

returnValue = instance.GetRelationshipClass(id)

Syntax

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

Parameters

id

Type: Guid

The unique identifier of a relationship.

Return Value

Type: ManagementPackRelationship The relationship.

Exceptions

Exception type Condition
ObjectNotFoundException

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