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

SQL Anywhere 12.0.0 (中文) » MobiLink - 客户端管理 » MobiLink 客户端简介 » MobiLink 客户端

 

为客户端指定网络协议

MobiLink 服务器使用 -x 命令行选项,为同步客户端指定一个或多个连接到 MobiLink 服务器所需的网络协议。所选的网络协议必须与客户端使用的同步协议相匹配。

mlsrv12 命令行选项的语法是:

mlsrv12 -c "connection-string" -x protocol( options )

在下面的示例中,选择了不带任何附加协议选项的 TCP/IP 协议。

mlsrv12 -c "dsn=SQL Anywhere 12 Demo" -x tcpip

可用如下格式的选项对协议进行配置:

(keyword=value;...)

例如:

mlsrv12 -c "dsn=SQL Anywhere 12 Demo" -x tcpip(
   host=localhost;port=2439)
 另请参见