Contents Index SQL Remote event-hook procedures sp_hook_dbremote_end and sp_hook_ssrmt_end

SQL Remote User's Guide
  Utilities and Options Reference
    SQL Remote event-hook procedures

sp_hook_dbremote_begin and sp_hook_ssrmt_begin


Function 

Use this stored 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.


Contents Index SQL Remote event-hook procedures sp_hook_dbremote_end and sp_hook_ssrmt_end