Contents Index sp_hook_dbmlsync_upload_begin sp_hook_dbmlsync_validate_download_file

MobiLink Synchronization Reference
  Stored Procedures
    Client event-hook procedures

sp_hook_dbmlsync_upload_end


Function 

Use this stored procedure to add custom actions after dbmlsync has verified receipt of the upload stream by the MobiLink synchronization server.

Rows in #hook_dict table  
Name Values Description
failure cause (in) See range of values in Description, below The cause of failure of an upload. For more information, see Description.
upload status (in) retry | committed | failed Specifies the status returned by the MobiLink synchronization server when dbmlsync attempted to verify receipt of the upload stream.

retry    The MobiLink synchronization server and dbmlsync had different values for the log offset from which the upload stream should start. The upload stream was not committed by the MobiLink synchronization server. The dbmlsync utility will attempt to send another upload stream starting from a new log offset.

committed    The upload stream was received by the MobiLink synchronization server, and committed.

failed    The MobiLink synchronization server did not commit the upload stream.

publication_n (in) publication name The publications being synchronized, where n is an integer. There is one publication_n entry for each publication being uploaded.
MobiLink user (in) MobiLink user name The MobiLink user for which you are synchronizing.
script version (in) script version name The MobiLink script version to be used for the synchronization.
Description 

If a procedure of this name exists, it is called immediately after dbmlsync has sent the upload stream and received confirmation of it from the MobiLink synchronization server.

Actions of this procedure are committed immediately after execution.

The range of possible parameter values for the failure cause row in the #hook_dict table includes:

See also 

Synchronization event hook sequence


Contents Index sp_hook_dbmlsync_upload_begin sp_hook_dbmlsync_validate_download_file