Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » MobiLink - Server Administration » Writing Synchronization Scripts in .NET » MobiLink server API for .NET reference » UploadData interface

UploadData interface Next Page

GetUploadedTableByName method


UploadedTableData GetUploadedTableByName(
   string table-name);


Gets the named Uploaded table data in this uploaded transaction. Will return null if there is no table in this transaction with the given name.


Uploaded data for the given table name or NULL if not found.


Assume you use a method called HandleUpload for the handle_UploadData synchronization event. The following example uses the GetUploadedTableByName method to return an UploadedTableData instance for the remoteOrders table.

// The method used for the handle_UploadData event.

public void HandleUpload( UploadData ut ) {
  UploadedTableData uploaded_t1 = ut.GetUploadedTableByName("remoteOrders");

  // ...