Share via


IModelElement.GetRelationship Method (ModelRelationshipClass)

Returns the requested relationship by using the provided metadata.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Function GetRelationship ( _
    relationshipClass As ModelRelationshipClass _
) As IModelRelationship
IModelRelationship GetRelationship(
    ModelRelationshipClass relationshipClass
)
IModelRelationship^ GetRelationship(
    ModelRelationshipClass^ relationshipClass
)
abstract GetRelationship : 
        relationshipClass:ModelRelationshipClass -> IModelRelationship 
function GetRelationship(
    relationshipClass : ModelRelationshipClass
) : IModelRelationship

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelRelationship
An IModelRelationship object.

.NET Framework Security

See Also

Reference

IModelElement Interface

GetRelationship Overload

Microsoft.Data.Schema.SchemaModel Namespace

IModelRelationship