BackupRestoreBase.Wait Method

Waits for the current backup or restore operation to complete before moving on to the next process.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public Sub Wait
'Usage
Dim instance As BackupRestoreBase

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

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

BackupRestoreBase Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

RESTORE (Transact-SQL)

BACKUP (Transact-SQL)