ReadWriteMode Element

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.

Syntax

<Database>
...
   <ddlns_100_0:ReadWriteMode>...</ddlns_100_0:ReadWriteMode>
...
</Database>

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

Remarks

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

Reference

Attach()

Other Resources

Moving a Database (Analysis Services)