Compartilhar via


Construtor BackupDeviceList (IEnumerable<BackupDeviceItem>)

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

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

Sintaxe

'Declaração
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

Exemplos

Fazendo backup e restaurando bancos de dados e logs de transações

Consulte também

Referência

BackupDeviceList Classe

Sobrecarregado BackupDeviceList

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

BACKUP (Transact-SQL)