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 服务器 API » 使用 Java 语言编写同步脚本 » 用于 Java 的 MobiLink 服务器 API 参考 » DBConnectionContext 接口

 

getDownloadData 方法

语法
public DownloadData getDownloadData()
注释

返回当前同步的 DownloadData 实例。使用 DownloadData 类可创建直接行处理下载。

返回值

当前同步的 DownloadData 实例。

另请参见
示例

以下示例告诉您如何使用 DBConnectionContext getDownloadData 方法来获取当前同步的 DownloadData 实例。

注意

此示例假定您拥有一个名为 _cc 的 DBConnectionContext 实例。

// The method used for the handle_DownloadData event.
public void HandleDownload() throws SQLException {
    // get the DownloadData for the current synchronization
    DownloadData my_dd = _cc.getDownloadData();
 
    // ...  
}

// ...