Share via


RelationshipHasSource.GetRelationship Method

Gets Relationship.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Function GetRelationship ( _
    element As DomainRole _
) As DomainRelationship
public static DomainRelationship GetRelationship(
    DomainRole element
)
public:
static DomainRelationship^ GetRelationship(
    DomainRole^ element
)
static member GetRelationship : 
        element:DomainRole -> DomainRelationship
public static function GetRelationship(
    element : DomainRole
) : DomainRelationship

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship

.NET Framework Security

See Also

Reference

RelationshipHasSource Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace