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
- collection
Tipo: System.Collections.Generic.IEnumerable<BackupDeviceItem>
BackupDeviceItem object value that specifies the backup devices.
Exemplos
Fazendo backup e restaurando bancos de dados e logs de transações
Consulte também
Referência
Sobrecarregado BackupDeviceList
Namespace Microsoft.SqlServer.Management.Smo