public java.lang.String getName( )
Returns the table name for the DownloadTableData instance. You can also access the table name using the java.sql.ResultSetMetaData instance returned by the DownloadTableData.getMetaData method.
The table name for the DownloadTableData instance.
The following example shows you how to output the table name for the DownloadTableData instance.
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(); // 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); // ... } |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |