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

SQL Anywhere 12.0.1 » UltraLite - M-Business Anywhere 编程(不建议使用) » UltraLite for M-Business Anywhere 开发 » MobiLink 数据同步

 

同步数据

同步要求有 MobiLink 服务器和相应的许可。可以参见 CustDB 示例应用程序中的同步工作示例。

UltraLite for M-Business Anywhere 支持 TCP/IP、HTTP 和 HTTPS 同步。同步由 UltraLite 应用程序启动。请始终使用 Connection 对象的方法和属性来控制同步。

注意

需要单独授予许可的组成部分。

ECC 加密和 FIPS 认证的加密需要单独的许可。所有高度加密技术受出口法规约束。

请参见单独授权的组件

 ♦ 通过 TCP/IP 或 HTTP 进行同步
  1. 准备同步信息。

    为 Connection.syncParms 对象的必需的属性指派值。

    有关您应该设置的属性和值的详细信息,请参见UltraLite 客户端

  2. 执行同步。

    调用 Connection.synchronize 方法。