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