Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a list of Roles.
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 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.