BackupDevice Object
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The BackupDevice object represents the properties of a Microsoft SQL Server backup device.
Properties
|
Methods
解説
SQL Server backup devices specify the behavior of specific backup media, usually tape. Backup devices are not required when issuing a BACKUP or RESTORE statement and are not required by the Backup object.
With the BackupDevice object, you can:
- Define a new backup device for a server running SQL Server.
- Change the definition of an existing SQL Server backup device.
The Name property of the BackupDevice object must match the definition of the sysname SQL Server data type.
To create a backup device
Create a BackupDevice object.
Set the Name property.
Set properties that define the behavior or use of the device, such as the tape label skip parameter or the physical location.
Add the BackupDevice object to the BackupDevices collection of a connected SQLServer object.