BackupDeviceList 构造函数 (IEnumerable<BackupDeviceItem>)

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)

语法

声明
Public Sub New ( _
    collection As IEnumerable(Of BackupDeviceItem) _
)
用法
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>
)

参数

示例

备份和还原数据库和事务日志

请参阅

参考

BackupDeviceList 类

BackupDeviceList 重载

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

BACKUP (Transact-SQL)