Compartilhar via


Propriedade do RDL BackupDevices

Representa uma coleção de objetos BackupDevice. Cada objeto BackupDevice representa um dispositivo de backup definido na instância do SQL Server.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(BackupDevice))> _
Public ReadOnly Property BackupDevices As BackupDeviceCollection
    Get
'Uso
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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .BackupDeviceCollection
Um objeto BackupDeviceCollection que representa todos os dispositivos de backup definidos na instância do SQL Server.

Comentários

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 Dispositivos de backup.