DownloadTableData[ ] GetDownloadTables( );
現在の同期のダウンロード・データのすべてのテーブルを含む配列を取得します。このテーブルに対して実行された操作はリモート・データベースに送信されます。
ダウンロード・テーブル・データの配列。配列内でのテーブルの順序は、リモートのアップロード順と同じです。
次の例では、DownloadData.GetDownloadTables メソッドを使用して、現在の同期の DownloadTableData オブジェクトの配列を取得します。この例は、_cc という DBConnectionContext インスタンスがあることを前提としています。
// 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]; // ... } |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |