IEntityTypeManagement.GetRelationshipClass Method (SystemRelationship)
[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 based on the well-known system relationship.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As IEntityTypeManagement
Dim relationship As SystemRelationship
Dim returnValue As ManagementPackRelationship
returnValue = instance.GetRelationshipClass(relationship)
Syntax
'Declaration
Function GetRelationshipClass ( _
relationship As SystemRelationship _
) As ManagementPackRelationship
ManagementPackRelationship GetRelationshipClass (
SystemRelationship relationship
)
ManagementPackRelationship^ GetRelationshipClass (
SystemRelationship^ relationship
)
ManagementPackRelationship GetRelationshipClass (
SystemRelationship relationship
)
function GetRelationshipClass (
relationship : SystemRelationship
) : ManagementPackRelationship
Parameters
- relationship
The well-known system relationship.
Return Value
The relationship.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The relationship parameter is a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | The ManagementPackRelationship type that is identified by the relationship parameter was not one of the supported values. |
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