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

SQL Anywhere 11.0.1 (Français) » MobiLink - Server Administration » MobiLink Server APIs » Writing synchronization scripts in Java » MobiLink server API for Java reference » DBConnectionContext interface

 

getDownloadData method

Syntax
public DownloadData getDownloadData()
Remarks

Returns a DownloadData instance for the current synchronization. Use the DownloadData class to create the download for direct row handling.

Returns

A DownloadData instance for the current synchronization.

See also
Example

The following example shows you how to obtain a DownloadData instance for the current synchronization using the DBConnectionContext getDownloadData method.

Note

This example assumes you have a DBConnectionContext instance called _cc.

// 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();
 
    // ...  
}

// ...