BackupRestoreBase.Wait 方法

等待当前备份或还原操作完成后再进入下一进程。

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

语法

声明
Public Sub Wait
用法
Dim instance As BackupRestoreBase

instance.Wait()
public void Wait()
public:
void Wait()
member Wait : unit -> unit
public function Wait()

示例

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

请参阅

参考

BackupRestoreBase 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

RESTORE (Transact-SQL)

BACKUP (Transact-SQL)