Partager via


RoleHasRolePlayer.SetRolePlayer Method

Sets RolePlayer.

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 Sub SetRolePlayer ( _
    element As DomainRole, _
    newRolePlayer As DomainClass _
)
public static void SetRolePlayer(
    DomainRole element,
    DomainClass newRolePlayer
)
public:
static void SetRolePlayer(
    DomainRole^ element, 
    DomainClass^ newRolePlayer
)
static member SetRolePlayer : 
        element:DomainRole * 
        newRolePlayer:DomainClass -> unit
public static function SetRolePlayer(
    element : DomainRole, 
    newRolePlayer : DomainClass
)

Parameters

.NET Framework Security

See Also

Reference

RoleHasRolePlayer Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace