DomainRoleInfo.SetRolePlayerMoniker Method (ElementLink, Moniker)
Sets the link role player moniker corresponding to this role.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Sub SetRolePlayerMoniker ( _
link As ElementLink, _
rolePlayerMoniker As Moniker _
)
public void SetRolePlayerMoniker(
ElementLink link,
Moniker rolePlayerMoniker
)
public:
void SetRolePlayerMoniker(
ElementLink^ link,
Moniker^ rolePlayerMoniker
)
member SetRolePlayerMoniker :
link:ElementLink *
rolePlayerMoniker:Moniker -> unit
public function SetRolePlayerMoniker(
link : ElementLink,
rolePlayerMoniker : Moniker
)
Parameters
- link
Type: Microsoft.VisualStudio.Modeling.ElementLink
The element link.
- rolePlayerMoniker
Type: Microsoft.VisualStudio.Modeling.Moniker
The new role player moniker for this role.
.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.