Prevents changes from being uploaded from the UltraLite database during this synchronization.
The syntax varies depending on the API you use. You can also set this parameter with ulsync.
Ping and Upload Only
When you have remotes that are synchronized by download-only synchronization, you should regularly do a full synchronization to reduce the amount of log that is scanned by the download-only synchronization. Otherwise, the download-only synchronizations will take an increasingly long time to complete.
For ulsync When download-only synchronization occurs, ulsync does not upload any changes to the data. Instead, it:
ulsync performs these actions by scanning the UltraLite database log to watch for rows with pending operations on the consolidated database. If ulsync detects a conflict, the download is rolled back and the synchronization fails. You must then do a full synchronization (that is an upload and a download) to correct this conflict.
ulsync supports this parameter as an extended synchronization parameter:
ulsync -c DBF=myuldb.udb "MobiLinkUid=remoteA;ScriptVersion=2;DownloadOnly=ON;Stream=http"
UltraLite for C/C++ applications can set the parameter as follows:
ul_synch_info info; // ... info.download_only = ul_true;
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|