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

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

BackupDeviceList Class

BackupDeviceList Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

BACKUP (Transact-SQL)