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
- relationshipInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<RelationshipHasRoles>
.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.