Share via


DomainRoleInfo.SetRolePlayer Method (ElementLink, ModelElement)

Sets the link role player that corresponds to this role.

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

Syntax

'Declaration
Public Sub SetRolePlayer ( _
    link As ElementLink, _
    newRolePlayerElement As ModelElement _
)
public void SetRolePlayer(
    ElementLink link,
    ModelElement newRolePlayerElement
)
public:
void SetRolePlayer(
    ElementLink^ link, 
    ModelElement^ newRolePlayerElement
)
member SetRolePlayer : 
        link:ElementLink * 
        newRolePlayerElement:ModelElement -> unit
public function SetRolePlayer(
    link : ElementLink, 
    newRolePlayerElement : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

SetRolePlayer Overload

Microsoft.VisualStudio.Modeling Namespace