RoleHasRolePlayer.GetLinkToRolePlayer Method
Get the RoleHasRolePlayer link to a DomainRole.
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 GetLinkToRolePlayer ( _
roleInstance As DomainRole _
) As RoleHasRolePlayer
public static RoleHasRolePlayer GetLinkToRolePlayer(
DomainRole roleInstance
)
public:
static RoleHasRolePlayer^ GetLinkToRolePlayer(
DomainRole^ roleInstance
)
static member GetLinkToRolePlayer :
roleInstance:DomainRole -> RoleHasRolePlayer
public static function GetLinkToRolePlayer(
roleInstance : DomainRole
) : RoleHasRolePlayer
Parameters
- roleInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.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.