The Complete event occurs when a backup or restore operation completes.
| Backup Object | Restore Object |
Private Sub object_Complete( Message as String )
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| Message | String containing descriptive message text |
With SQL-DMO, use the SQLBackup, SQLRestore, and SQLVerify methods to launch a backup or restore operation.
HRESULT Complete(SQLDMO_LPCSTR Message);