DomainRoleInfo.GetRolePlayer Method (ElementLink)
Gets 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 Function GetRolePlayer ( _
link As ElementLink _
) As ModelElement
public ModelElement GetRolePlayer(
ElementLink link
)
public:
ModelElement^ GetRolePlayer(
ElementLink^ link
)
member GetRolePlayer :
link:ElementLink -> ModelElement
public function GetRolePlayer(
link : ElementLink
) : ModelElement
Parameters
link
Type: Microsoft.VisualStudio.Modeling.ElementLinkThe element link.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
A ModelElement that is the role player 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.