ReadWriteMode Element

APPLIES TO:yesSQL Server Analysis ServicesyesAzure Analysis Services

The ReadWriteMode database property specifies whether the database is in ReadWrite mode or in ReadOnly mode. These are the only two possible values of the property.



Element characteristics

Characteristic Description
Data type and length String (enumeration)
Default value ReadWrite
Cardinality 0-1: Optional element that can occur more than once.

Element relationships

Relationship Element
Parent elements Database
Child elements None


Databases are created in ReadWrite mode only. Databases cannot be created in ReadOnly mode.

The value of the ReadWriteMode element is limited to one of the strings listed in the following table.

Value Description
ReadOnly No changes or updates can be applied to the database.
ReadWrite Changes and updates can be applied to the database.

See also

Attach Element
Attach and Detach Analysis Services Databases
Move an Analysis Services Database
Database ReadWriteModes
Switch an Analysis Services database between ReadOnly and ReadWrite modes