Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定与用户名关联的 MobiLink 口令。
根据所使用的 API 不同,语法会有所变化。还可以使用 ulsync 设置此参数。
字符串
此参数是可选的。
此 MobiLink 用户名和口令不同于任何数据库用户 ID 和口令,仅用于向 MobiLink 服务器标识和验证应用程序。
如果 MobiLink 客户端已有口令,则使用新口令参数来更改口令。
ulsync 可以将此参数按如下方法设置为扩展同步参数:
ulsync -c DBF=myuldb.udb "MobiLinkUid=remoteA;ScriptVersion=2;MobiLinkPwd=mypassword;Stream=http"
UltraLite for C/C++ 应用程序可以按如下方法设置参数:
ul_sync_info info; // ... info.password = UL_TEXT( "mypassword" );