Udostępnij za pośrednictwem


RoleHasRolePlayer.GetLinks(DomainRole, DomainClass) Method

Definition

Get any RoleHasRolePlayer links between a given DomainRole and a DomainClass.

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

Parameters

source
DomainRole
target
DomainClass

Returns

Attributes

Applies to