RestorePlan.AddRestoreOperation 方法 (BackupSet)

Adds the restore operation with specified backup set to be restored.

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

语法

声明
Public Sub AddRestoreOperation ( _
    backupSet As BackupSet _
)
用法
Dim instance As RestorePlan 
Dim backupSet As BackupSet

instance.AddRestoreOperation(backupSet)
public void AddRestoreOperation(
    BackupSet backupSet
)
public:
void AddRestoreOperation(
    BackupSet^ backupSet
)
member AddRestoreOperation : 
        backupSet:BackupSet -> unit
public function AddRestoreOperation(
    backupSet : BackupSet
)

参数

请参阅

参考

RestorePlan 类

AddRestoreOperation 重载

Microsoft.SqlServer.Management.Smo 命名空间