The following example uses the GetDownloadTables method to obtain an array of DownloadTableData objects for the current synchronization.
The example assumes you have a DBConnectionContext instance named _cc.
// The method used for the handle_DownloadData event.
public void HandleDownload() {
// Get the DownloadData for the current synchronization.
DownloadData my_dd = _cc.GetDownloadData();
// Get an array of tables to set download operations.
DownloadTableData[] download_tables = my_dd.GetDownloadTables();
// Get the first table in the DownloadTableData array.
DownloadTableData my_download_table = download_tables[0];
// ...
}