Partager via


DatabaseName Element (XMLA)

Identifies the Microsoft SQL Server Analysis Services database to be restored by the parent Restore command.

Syntaxe

<Restore>
   ...
   <DatabaseName>...</DatabaseName>
   ...
</Restore>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element

Parent elements

Restore

Child elements

None

Notes

The DatabaseName element identifies the database into which the Restore command restores a backup file. If this element is not specified or contains an empty string, the name of the database contained in the backup file is used.

If the database already exists on the target instance, an error occurs unless the AllowOverwrite element for the parent Restore command is set to True.

Voir aussi

Référence

AllowOverwrite Element (XMLA)

Concepts

Properties (XMLA)

Aide et Informations

Assistance sur SQL Server 2005