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

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference


ul_synch_status struct

Returns synchronization progress monitoring data.

public ul_synch_status
Name Type Description
db_table_count ul_u_short

Returns the number of tables in database.

flags ul_u_short

Returns the current synchronization flags indicating additional information relating to the current state.

info ul_synch_info_a *

A pointer to the ul_synch_info_a structure. See ul_synch_info_a struct.

received ul_synch_stats

Returns download statistics.

sent ul_synch_stats

Returns upload statistics.

sqlca SQLCA *

The connection's active SQLCA.

state ul_synch_state

One of the many supported states. See Handling synchronization status information.

stop ul_bool

A boolean that cancel synchronization. A value of true means that synchronization is canceled.

sync_table_count ul_u_short

Returns the number of tables being synchronized.

sync_table_index ul_u_short

Values range from 1 to the number specified in sync_table_count.

table_id ul_u_short

The current table id which is being uploaded or downloaded (1-based). This number may skip values when not all tables are being synchronized, and is not necessarily increasing.

table_name char

Name of the current table.

table_name_w2 char

Name of the current table (wide character format). This field is only populated on Windows desktop and Mobile platforms.

user_data ul_void *

User data passed in to ULRegisterSynchronizationCallback or set in the ul_synch_info structure.