IEntityTypeManagement.GetRelationshipClass Method (Guid)
[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
'Usage
Dim instance As IEntityTypeManagement
Dim id As Guid
Dim returnValue As ManagementPackRelationship
returnValue = instance.GetRelationshipClass(id)
Syntax
'Declaration
Function GetRelationshipClass ( _
id As Guid _
) As ManagementPackRelationship
ManagementPackRelationship GetRelationshipClass (
Guid id
)
ManagementPackRelationship^ GetRelationshipClass (
Guid id
)
ManagementPackRelationship GetRelationshipClass (
Guid id
)
function GetRelationshipClass (
id : Guid
) : ManagementPackRelationship
Parameters
- id
The unique identifier of a relationship.
Return Value
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 Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
IEntityTypeManagement Interface
IEntityTypeManagement Members
Microsoft.EnterpriseManagement Namespace