Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
定义统一数据库版本。
根据所使用的 API 不同,语法会有所变化。还可以使用 ulsync 设置此参数。
字符串
该参数是必需的。通常会拒绝空字符串和 NULL 字符串。
统一数据库中的每个同步脚本都带有版本字符串标记。例如,可能有两个不同的 download_cursor 脚本,分别由不同的版本字符串标识。
ulsync 可以将此参数按如下方法设置为扩展同步参数:
ulsync -c DBF=myuldb.udb "MobiLinkUid=remoteA;ScriptVersion=2;Stream=http"
UltraLite for C/C++ 应用程序可以按如下方法设置参数:
ul_sync_info info; // ... info.version = UL_TEXT( "default" );