Compartilhar via


RelationshipHasSource.GetLink Method

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

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

Syntax

'Declaração
Public Shared Function GetLink ( _
    source As DomainRelationship, _
    target As DomainRole _
) As RelationshipHasSource
public static RelationshipHasSource GetLink(
    DomainRelationship source,
    DomainRole target
)
public:
static RelationshipHasSource^ GetLink(
    DomainRelationship^ source, 
    DomainRole^ target
)
static member GetLink : 
        source:DomainRelationship * 
        target:DomainRole -> RelationshipHasSource 
public static function GetLink(
    source : DomainRelationship, 
    target : DomainRole
) : RelationshipHasSource

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasSource

.NET Framework Security

See Also

Reference

RelationshipHasSource Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace