Dela via


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