Compartir a través de


BackupDeviceList Constructor (IEnumerable<BackupDeviceItem>)

Initializes a new instance of the BackupDeviceList class based on the specified BackupDeviceItem object.

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

Sintaxis

'Declaración
Public Sub New ( _
    collection As IEnumerable(Of BackupDeviceItem) _
)
'Uso
Dim collection As IEnumerable(Of BackupDeviceItem)

Dim instance As New BackupDeviceList(collection)
public BackupDeviceList(
    IEnumerable<BackupDeviceItem> collection
)
public:
BackupDeviceList(
    IEnumerable<BackupDeviceItem^>^ collection
)
new : 
        collection:IEnumerable<BackupDeviceItem> -> BackupDeviceList
public function BackupDeviceList(
    collection : IEnumerable<BackupDeviceItem>
)

Parámetros

Ejemplos

Realizar de copias de seguridad y restaurar bases de datos y registros de transacciones

Vea también

Referencia

BackupDeviceList Clase

Sobrecarga de BackupDeviceList

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

BACKUP (Transact-SQL)