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 的同步参数

 

Password 同步参数

指定与用户名关联的 MobiLink 口令。

语法

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

允许值

字符串

注释

此参数是可选的。

此 MobiLink 用户名和口令不同于任何数据库用户 ID 和口令,仅用于向 MobiLink 服务器标识和验证应用程序。请参见User Name 同步参数

如果 MobiLink 客户端已有口令,则使用新口令参数来更改口令。请参见New Password 同步参数

另请参见
示例

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

ulsync -c DBF=myuldb.udb "MobiLinkUid=remoteA;ScriptVersion=2;MobiLinkPwd=mypassword;Stream=http"

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

ul_synch_info info;
// ...
info.password = UL_TEXT( "mypassword" );