次の方法で共有


RelationshipHasSource.GetLink(DomainRelationship, DomainRole) Method

Definition

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

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

Parameters

target
DomainRole

Returns

Attributes

Applies to