Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a list of Roles.
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 Shared Function GetRoles ( _
    element As DomainRelationship _
) As ReadOnlyLinkedElementCollection(Of DomainRole)
public static ReadOnlyLinkedElementCollection<DomainRole> GetRoles(
    DomainRelationship element
)
public:
static ReadOnlyLinkedElementCollection<DomainRole^>^ GetRoles(
    DomainRelationship^ element
)
static member GetRoles : 
        element:DomainRelationship -> ReadOnlyLinkedElementCollection<DomainRole> 
public static function GetRoles(
    element : DomainRelationship
) : ReadOnlyLinkedElementCollection<DomainRole>
Parameters
Return 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.