sp_hook_dbremote_begin system procedure

Use this system procedure to add custom actions at the beginning of the replication process.

Rows in #hook_dict table
Name Values Description

send

true or false

Indicates if the process is performing the send phase of replication.

receive

true or false

Indicates if the process is performing the receive phase of replication.

Description

If a procedure of this name exists, it is called when the Message Agent starts.