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

 

Authentication Parameters 同步参数

向 MobiLink 事件中的验证参数提供参数。

语法

根据所使用的 API 不同语法会有所变化。

注释

例如,参数可能是用户名和口令。

如果使用此参数,还必须提供参数的数目。请参见Number of Authentication Parameters 参数

允许值

字符串数组。任何字符串的值都不能为 Null,但是您可以提供一个空字符串。

另请参见
示例

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

ul_char * Params[ 3 ] = { UL_TEXT( "parm1" ), 
                          UL_TEXT( "parm2" ), 
                          UL_TEXT( "parm3" ) };
// ...
info.num_auth_parms = 3;
info.auth_parms = Params;