Password Element (XMLA)
<Backup> <!-- or Restore --> ... <Password>...</Password> ... </Backup>
|Data type and length||String|
|Cardinality||0-1: Optional element that can occur once and only once.|
|Parent elements||Backup, Restore|
For Backup commands, if the Password element is not included or contains an empty string, the backup file is not encrypted.
For Restore commands, if the Password element is not included or contains an empty string while attempting to restore an encrypted backup file, an error occurs.
If Location elements are included in either a Backup or a Restore command, the same Password element is used for both backup and remote backup files. For more information about remote backup files, see Backing Up, Restoring, and Synchronizing Databases (XMLA).