The BackupDevices collection contains BackupDevice objects exposing the backup devices defined on a server running Microsoft® SQL Server™.
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 for its functioning.
With the BackupDevices collection, you can:
For more information about creating backup devices, see BackupDevice Object.
To remove a backup device
oSQLServer.BackupDevices.Remove("Northwind_Tape")
Add Method | Remove Method (Collections) |
Refresh Method |