Condividi tramite


RelationshipHasRoles.GetLink Method

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

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

Syntax

'Declaration
Public Shared Function GetLink ( _
    source As DomainRelationship, _
    target As DomainRole _
) As RelationshipHasRoles
public static RelationshipHasRoles GetLink(
    DomainRelationship source,
    DomainRole target
)
public:
static RelationshipHasRoles^ GetLink(
    DomainRelationship^ source, 
    DomainRole^ target
)
static member GetLink : 
        source:DomainRelationship * 
        target:DomainRole -> RelationshipHasRoles
public static function GetLink(
    source : DomainRelationship, 
    target : DomainRole
) : RelationshipHasRoles

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles

.NET Framework Security

See Also

Reference

RelationshipHasRoles Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace