AllowOverwrite Element
TOC
Collapse the table of content
Expand the table of content

AllowOverwrite Element (XMLA)

 

Applies To: SQL Server 2016 Preview

Determines whether the parent Backup or Restore command attempts to overwrite the target file or database.


<Backup> <!-- or Restore -->
   ...
   <AllowOverwrite>...</AllowOverwrite>
   ...
</Backup>

CharacteristicDescription
Data type and lengthBoolean
Default valueFalse
Cardinality0-1: Optional element that can occur once and only once.
RelationshipElement
Parent elementsBackup, Restore
Child elementsNone

For Backup commands, the AllowOverwrite element determines whether the command can overwrite the backup file specified in the File element.

For Restore elements, the AllowOverwrite element determines whether the command can overwrite the Microsoft SQL Server Analysis Services database specified in the DatabaseName element.

DatabaseName Element (XMLA)
File Element (XMLA)
Properties (XMLA)

Community Additions

ADD
Show:
© 2016 Microsoft