The following example uses the getDownloadTableByName method to return a DownloadTableData instance for the remoteOrders table. This example assumes you have created a DBConnectionContext instance named _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();
// Get the DownloadTableData for the remoteOrders table.
DownloadTableData my_download_table = my_dd.getDownloadTableByName("remoteOrders");
// ...
}