ModelStore.Element.GetRelationship Method

Returns the asked relationship.

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

Syntax

'Declaration
Public Function GetRelationship ( _
    relationshipClass As RelationshipClass _
) As IModelRelationship
'Usage
Dim instance As ModelStore..::..Element
Dim relationshipClass As RelationshipClass
Dim returnValue As IModelRelationship

returnValue = instance.GetRelationship(relationshipClass)
public IModelRelationship GetRelationship(
    RelationshipClass relationshipClass
)
public:
virtual IModelRelationship^ GetRelationship(
    RelationshipClass^ relationshipClass
) sealed
public final function GetRelationship(
    relationshipClass : RelationshipClass
) : IModelRelationship
abstract GetRelationship : 
        relationshipClass:RelationshipClass -> IModelRelationship 
override GetRelationship : 
        relationshipClass:RelationshipClass -> IModelRelationship 

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelRelationship

Implements

IModelElement.GetRelationship(RelationshipClass)

.NET Framework Security

See Also

Reference

ModelStore.Element Class

ModelStore.Element Members

Microsoft.Data.Schema.SchemaModel Namespace