다음을 통해 공유


Password Element (XMLA)

Determines the password to be used by the parent Backup or Restore command for encrypting or decrypting a backup file.

구문

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

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

Backup, Restore

Child elements

None

주의

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).

참고 항목

참조

Location Element (XMLA)

개념

Properties (XMLA)

도움말 및 정보

SQL Server 2005 지원 받기