Share via


RoleHasRolePlayer.GetLink Method

Get the one RoleHasRolePlayer link between a given DomainRoleand a DomainClass.

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 DomainRole, _
    target As DomainClass _
) As RoleHasRolePlayer
public static RoleHasRolePlayer GetLink(
    DomainRole source,
    DomainClass target
)
public:
static RoleHasRolePlayer^ GetLink(
    DomainRole^ source, 
    DomainClass^ target
)
static member GetLink : 
        source:DomainRole * 
        target:DomainClass -> RoleHasRolePlayer
public static function GetLink(
    source : DomainRole, 
    target : DomainClass
) : RoleHasRolePlayer

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer

.NET Framework Security

See Also

Reference

RoleHasRolePlayer Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace