Attach Element

Attaches a Microsoft SQL Server Analysis Services database that was previously detached from the current server instance or from another instance, to the current server instance.

Syntax

<Command>
   <Attach>
      <Folder>...</Folder>
      <ReadWriteMode>...</ReadWriteMode>
      <Password>...</Password>
   </Attach>
</Command>

Element Characteristics

Characteristic

Description

Data type and length

None

Default value

None

Cardinality

0-n: Optional element that can occur more than once.

Element Relationships

Relationship

Element

Parent elements

Command

Child elements

Folder

ReadWriteMode

Password

See Also

Reference

Attach()

Concepts

Other Resources

Moving an Analysis Services Database

Switching a database between ReadOnly and ReadWrite modes (Analysis Services)