Freigeben über


RoleHasRolePlayer.GetLink(DomainRole, DomainClass) Method

Definition

Get the one RoleHasRolePlayer link between a given DomainRoleand a DomainClass.

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::RoleHasRolePlayer ^ GetLink(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer GetLink (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole source, Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLink : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole * Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer
Public Shared Function GetLink (source As DomainRole, target As DomainClass) As RoleHasRolePlayer

Parameters

source
DomainRole
target
DomainClass

Returns

Attributes

Applies to