Freigeben über


RelationshipHasRoles.GetLink(DomainRelationship, DomainRole) Method

Definition

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

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::RelationshipHasRoles ^ GetLink(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRelationship ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles 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.RelationshipHasRoles
Public Shared Function GetLink (source As DomainRelationship, target As DomainRole) As RelationshipHasRoles

Parameters

target
DomainRole

Returns

Attributes

Applies to