DomainRoleInfo.GetSourceRolePlayer Method
Gets the source element that is attached to a link.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Shared Function GetSourceRolePlayer ( _
link As ElementLink _
) As ModelElement
public static ModelElement GetSourceRolePlayer(
ElementLink link
)
public:
static ModelElement^ GetSourceRolePlayer(
ElementLink^ link
)
static member GetSourceRolePlayer :
link:ElementLink -> ModelElement
public static function GetSourceRolePlayer(
link : ElementLink
) : ModelElement
Parameters
- link
Type: Microsoft.VisualStudio.Modeling.ElementLink
The link.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
The source element that is attached to a link.
.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.