Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - 数据库管理和参考 » UltraLite 用作 MobiLink 客户端 » UltraLite 同步参数和网络协议选项 » UltraLite 的同步参数

 

Publications 同步参数

指定要同步的发布。

语法

根据所使用的 API 不同语法会有所变化。还可以通过 ulsync 使用此参数。

缺省值

同步所有发布。

注释

在 C/C++ 中进行同步时,将发布同步参数设置为一个发布列表:以逗号分隔的发布名的列表。

另请参见
示例

ulsync 可以将此参数按如下方法设置为扩展同步参数:

ulsync -c DBF=myuldb.udb "MobiLinkUid=remoteA;ScriptVersion=2;Publications=UL_PUB_MYPUB1,UL_PUB_MYPUB2;Stream=http"

UltraLite for C/C++ 应用程序可以按如下方法设置参数:

ul_synch_info info;
// ...
info.publications = UL_TEXT( "Pubs1,Pubs3" );