Freigeben über


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

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