public java.lang.String getName( )
返回 DownloadTableData 实例的表名。您也可以使用由 DownloadTableData.getMetaData 方法返回的 java.sql.ResultSetMetaData 实例来访问表名。
DownloadTableData 实例的表名。
以下示例显示如何输出 DownloadTableData 实例的表名。
此示例假定您拥有一个名为 _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(); // Get the DownloadTableData for the remoteOrders table. DownloadTableData td = my_dd.getDownloadTableByName("remoteOrders"); // Print the table name to standard output (remoteOrders) System.out.println(td.getName()); // User defined-methods to set download operations. setDownloadInserts(td); setDownloadDeletes(td); // ... } |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |