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

SQL Anywhere 11.0.1 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » UltraLite_Connection_iface class


Synchronize function

Synchronizes the database.

bool UltraLite_Connection_iface::Synchronize(
  ul_synch_info_a * info
  • info   A pointer to the ul_synch_info structure that holds the synchronization parameters.

ul_synch_info info;
conn->InitSynchInfo( &info );
info.user_name = UL_TEXT( user_name"user_name" );
info.version = UL_TEXT( version"test" );
conn->Synchronize( &info );