다음을 통해 공유


RelationshipHasRoles.GetLinksToRoles Method

Get the list of RelationshipHasRoles links to a DomainRelationship.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Function GetLinksToRoles ( _
    relationshipInstance As DomainRelationship _
) As ReadOnlyCollection(Of RelationshipHasRoles)
public static ReadOnlyCollection<RelationshipHasRoles> GetLinksToRoles(
    DomainRelationship relationshipInstance
)
public:
static ReadOnlyCollection<RelationshipHasRoles^>^ GetLinksToRoles(
    DomainRelationship^ relationshipInstance
)
static member GetLinksToRoles : 
        relationshipInstance:DomainRelationship -> ReadOnlyCollection<RelationshipHasRoles> 
public static function GetLinksToRoles(
    relationshipInstance : DomainRelationship
) : ReadOnlyCollection<RelationshipHasRoles>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<RelationshipHasRoles>

.NET Framework Security

See Also

Reference

RelationshipHasRoles Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace