Partager via


RelationshipHasTarget.GetLink(DomainRelationship, DomainRole) Method

Definition

Get the one RelationshipHasTarget link between a given DomainRelationshipand a DomainRole.

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::RelationshipHasTarget ^ GetLink(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRelationship ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget GetLink (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship source, Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLink : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship * Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole -> Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget
Public Shared Function GetLink (source As DomainRelationship, target As DomainRole) As RelationshipHasTarget

Parameters

target
DomainRole

Returns

Attributes

Applies to