Complete Event

SQL-DMO

SQL-DMO

Complete Event

The Complete event occurs when a backup or restore operation completes.

Applies To
Backup Object Restore Object
Syntax

Private Sub object_Complete( Message as String )

Parts

object

Expression that evaluates to an object in the Applies To list

Message

String that contains descriptive message text

Prototype (C/C++)

HRESULT Complete(SQLDMO_LPCSTR Message);

Remarks

With SQL-DMO, use the SQLBackup, SQLRestore, and SQLVerify methods to start a backup or restore operation.