Condividi tramite


Complete Event

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

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);

Osservazioni

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

Applies To:

Backup Object

Restore Object