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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.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: ReadOnlyCollection<RoleHasRolePlayer>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.