BackupDevice

SQL-DMO

SQL-DMO

BackupDevice

This sample illustrates using SQL Distributed Management Objects (SQL-DMO) objects supplied with Microsoft® SQL Server™ 2000. This Microsoft® Visual Basic® sample demonstrates how to use the BackupDevice Object to add and remove a backup device.

This is not intended to be a complete production application. It does not test to ensure that non-file based device types are valid on your system.

Default Location

C:\Program Files\
Microsoft SQL Server\80\Tools\Devtools\Samples\Sqldmo\Vb\BackupDevice

Running the Sample
  1. Open the AddRemoveBackupDevice.vbp project.

  2. Run the application.

See Also

SQL-DMO Samples