Roles Element (ASSL)


Applies To: SQL Server 2016 Preview

Contains the collection of Role elements defined under the parent element.

<Database> <!-- or Server -->  

Data type and lengthNone
Default valueNone
Cardinality0-1: Optional element that can occur once and only once.
Parent elementsDatabase, Server
Child elementsRole

The Roles element associated with a Server element contains only one role, named Administrators, which represents the server administrator role. The server administrator role cannot be changed or deleted, nor can additional roles be added to the collection.

The Roles element associate with a Database element contains the roles defined for that database.

The corresponding element in the Analysis Management Objects (AMO) object model is RoleCollection.

Collections (ASSL)

Community Additions