Share via


DomainRelationship.Roles Property

Gets a list of Roles. Roles of the relationship. There should be exactly two.

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 ReadOnly Property Roles As ReadOnlyLinkedElementCollection(Of DomainRole)
public ReadOnlyLinkedElementCollection<DomainRole> Roles { get; }
public:
property ReadOnlyLinkedElementCollection<DomainRole^>^ Roles {
    ReadOnlyLinkedElementCollection<DomainRole^>^ get ();
}
member Roles : ReadOnlyLinkedElementCollection<DomainRole> with get
function get Roles () : ReadOnlyLinkedElementCollection<DomainRole>

Property Value

Type: Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<DomainRole>

.NET Framework Security

See Also

Reference

DomainRelationship Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace