Share via


ModelElementClass.GetRelationshipClass Method

Returns the relationship that is defined by the provided name.

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

Syntax

'Declaration
Public Function GetRelationshipClass ( _
    name As String _
) As ModelRelationshipClass
public ModelRelationshipClass GetRelationshipClass(
    string name
)
public:
ModelRelationshipClass^ GetRelationshipClass(
    String^ name
)
member GetRelationshipClass : 
        name:string -> ModelRelationshipClass 
public function GetRelationshipClass(
    name : String
) : ModelRelationshipClass

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
The relationship that is defined by the name.

.NET Framework Security

See Also

Reference

ModelElementClass Class

Microsoft.Data.Schema.SchemaModel Namespace

ModelRelationshipClass