RoleHasRolePlayer.GetLink Method
Get the one RoleHasRolePlayer link between a given DomainRoleand a DomainClass.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Shared Function GetLink ( _
source As DomainRole, _
target As DomainClass _
) As RoleHasRolePlayer
public static RoleHasRolePlayer GetLink(
DomainRole source,
DomainClass target
)
public:
static RoleHasRolePlayer^ GetLink(
DomainRole^ source,
DomainClass^ target
)
static member GetLink :
source:DomainRole *
target:DomainClass -> RoleHasRolePlayer
public static function GetLink(
source : DomainRole,
target : DomainClass
) : RoleHasRolePlayer
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer
.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.