Server.BackupDevices Property
Applies To: SQL Server 2016 Preview
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)
Syntax
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer,
SfcContainerCardinality.ZeroToAny, typeof(BackupDevice))]
public BackupDeviceCollection BackupDevices { get; }
public:
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer,
SfcContainerCardinality::ZeroToAny, (BackupDevice^::typeid))]
property BackupDeviceCollection^ BackupDevices {
BackupDeviceCollection^ get();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer,
SfcContainerCardinality.ZeroToAny, typeof(BackupDevice))>]
member BackupDevices : BackupDeviceCollection with get
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer,
SfcContainerCardinality.ZeroToAny, GetType(BackupDevice))>
Public ReadOnly Property BackupDevices As BackupDeviceCollection
Property Value
Type: Microsoft.SqlServer.Management.Smo.BackupDeviceCollection
A BackupDeviceCollection object that represents all the backup devices defined on the instance of SQL Server.
Remarks
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).
See Also
Server Class
Microsoft.SqlServer.Management.Smo Namespace
Using Collections
Backing Up and Restoring Databases and Transaction Logs
Unable to find linked topic '776ac273-bbe5-45e2-8bc8-a6f2b9cac03a'.
Return to top