Udostępnij za pośrednictwem


RoleHasRolePlayer.GetLinks Method

Get any RoleHasRolePlayer links between a given DomainRole and a DomainClass.

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

Syntax

'Declaration
Public Shared Function GetLinks ( _
    source As DomainRole, _
    target As DomainClass _
) As ReadOnlyCollection(Of RoleHasRolePlayer)
public static ReadOnlyCollection<RoleHasRolePlayer> GetLinks(
    DomainRole source,
    DomainClass target
)
public:
static ReadOnlyCollection<RoleHasRolePlayer^>^ GetLinks(
    DomainRole^ source, 
    DomainClass^ target
)
static member GetLinks : 
        source:DomainRole * 
        target:DomainClass -> ReadOnlyCollection<RoleHasRolePlayer> 
public static function GetLinks(
    source : DomainRole, 
    target : DomainClass
) : ReadOnlyCollection<RoleHasRolePlayer>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<RoleHasRolePlayer>

.NET Framework Security

See Also

Reference

RoleHasRolePlayer Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace