Skip to content

Latest commit

 

History

History
70 lines (58 loc) · 2.59 KB

File metadata and controls

70 lines (58 loc) · 2.59 KB
title AllowOverwrite Element (XMLA) | Microsoft Docs
ms.custom
ms.date 03/14/2017
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
analysis-services
docset-sql-devref
ms.tgt_pltfrm
ms.topic reference
apiname
AllowOverwrite Element
apilocation
apitype Schema
applies_to
SQL Server 2016 Preview
f1_keywords
microsoft.xml.analysis.allowoverwrite
urn:schemas-microsoft-com:xml-analysis#EndSession
helpviewer_keywords
AllowOverwrite element
ms.assetid e7e92481-5f29-47f2-9efd-4e5e60c002bb
caps.latest.revision 11
author jeannt
ms.author jeannt
manager erikre

AllowOverwrite Element (XMLA)

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

Syntax

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

Element Characteristics

Characteristic Description
Data type and length Boolean
Default value False
Cardinality 0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element
Parent elements Backup, Restore
Child elements None

Remarks

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 [!INCLUDEmsCoName] [!INCLUDEssNoVersion] [!INCLUDEssASnoversion] database specified in the DatabaseName element.

See Also

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