RelationshipHasRoles.GetLinksToRoles Method
Get the list of RelationshipHasRoles links to a DomainRelationship.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.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: 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.