Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定要同步的发布。
根据所使用的 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_sync_info info; // ... info.publications = UL_TEXT( "Pubs1,Pubs3" );