Compartir a través de


BackupDevices Propiedad

Representa una colección de objetos BackupDevice. Cada objeto BackupDevice representa un dispositivo de copia de seguridad definido en la instancia de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<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 de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .BackupDeviceCollection
Objeto BackupDeviceCollection que representa todos los dispositivos de copia de seguridad definidos en la instancia de SQL Server.

Comentarios

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 copia de seguridad.