Partager via


RelationshipHasTarget.GetLink Method

Get the one RelationshipHasTarget 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

'Déclaration
Public Shared Function GetLink ( _
    source As DomainRelationship, _
    target As DomainRole _
) As RelationshipHasTarget
public static RelationshipHasTarget GetLink(
    DomainRelationship source,
    DomainRole target
)
public:
static RelationshipHasTarget^ GetLink(
    DomainRelationship^ source, 
    DomainRole^ target
)
static member GetLink : 
        source:DomainRelationship * 
        target:DomainRole -> RelationshipHasTarget 
public static function GetLink(
    source : DomainRelationship, 
    target : DomainRole
) : RelationshipHasTarget

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget

.NET Framework Security

See Also

Reference

RelationshipHasTarget Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace