BackupDeviceList Constructor (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 (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Sub New ( _
collection As IEnumerable(Of BackupDeviceItem) _
)
'Usage
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>
)
Parameters
- collection
Type: System.Collections.Generic.IEnumerable<BackupDeviceItem>
BackupDeviceItem object value that specifies the backup devices.
Examples
Backing Up and Restoring Databases and Transaction Logs
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace