1.Create a BackupDevice object.
2.Set the Name property.
3.Set properties that define the behavior or use of the device, such as the tape label skip parameter or the physical location.
4.Add the BackupDevice object to the BackupDevices collection of a connected SQLServer object.
5.Use Remove method