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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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
- 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.