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

SQL Anywhere 11.0.1 (中文) » MobiLink - 客户端管理 » 用于 MobiLink 的 SQL Anywhere 客户端 » MobiLink SQL Anywhere 客户端扩展选项

 

CommunicationType (ctp) 扩展选项

指定用于连接到 MobiLink 服务器的网络协议的类型。

语法
ctp=network-protocol; ...
注释

network-protocol 可以是 tcpiptlshttphttps 之一。缺省值为 tcpip

您必须确保 MobiLink 用户的所有预订仅与一个统一数据库同步。否则,您可能会遇到数据丢失和不可预知的行为。

此选项有一个长格式和一个短格式:您可以使用 ctp,也可以使用 CommunicationType

另请参见
示例

以下 dbmlsync 命令行说明在启动 dbmlsync 时如何设置此选项:

dbmlsync -e "ctp=https"

要在数据库中存储 CommunicationType,可使用扩展选项或 TYPE 子句。例如,

CREATE SYNCHRONIZATION SUBSCRIPTION
   TO sales_publication
   FOR ml_user1
   TYPE 'tcpip'