Server::BackupDevices Property

 

Represents a collection of BackupDevice objects. Each BackupDevice object represents a backup device defined on the instance of SQL Server.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public:
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, 
	SfcContainerCardinality::ZeroToAny, (BackupDevice^::typeid))]
property BackupDeviceCollection^ BackupDevices {
	BackupDeviceCollection^ get();
}

Property Value

Type: Microsoft.SqlServer.Management.Smo::BackupDeviceCollection^

A BackupDeviceCollection object that represents all the backup devices defined on the instance of SQL Server.

A tape drive or disk drive that is used in a backup or restore operation is referred to as a backup device. When you create backups, you must select a backup device to write the data on. For more information, see Backup Devices (SQL Server).

Return to top
Show: