Delen via


RelationshipHasRoles.GetRelationship Method

Gets Relationship.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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

RelationshipHasRoles Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace