Свойство Server.BackupDevices
Represents a collection of BackupDevice objects. Each BackupDevice object represents a backup device defined on the instance of SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(BackupDevice))> _
Public ReadOnly Property BackupDevices As BackupDeviceCollection
Get
'Применение
Dim instance As Server
Dim value As BackupDeviceCollection
value = instance.BackupDevices
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(BackupDevice))]
public BackupDeviceCollection BackupDevices { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(BackupDevice))]
public:
property BackupDeviceCollection^ BackupDevices {
BackupDeviceCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(BackupDevice))>]
member BackupDevices : BackupDeviceCollection
function get BackupDevices () : BackupDeviceCollection
Значение свойства
Тип: 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 Устройства резервного копирования (SQL Server).
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo
Другие ресурсы
Резервное копирование и восстановление баз данных и журналов транзакций из копий