 
 
  
  
 UltraLite Static C++ User's Guide
  C++ API Reference
    ULConnection class
bool Synchronize ( ul_synch_info * synch_info )
Synchronizes an UltraLite database.
For a detailed description of the members of the synch_info structure, see Synchronization parameters.
true (1) if successful.
false (0) if unsuccessful.
The following code fragment illustrates how information is provided to the Synchronize method.
auto ul_synch_info synch_info;
conn.InitSynchInfo( &synch_info );
synch_info.user_name = UL_TEXT( "50" );
synch_info.version = UL_TEXT( "custdb" );
synch_info.stream = ULSocketStream();
synch_info.stream_parms =
   UL_TEXT("host=localhost");
conn.Synchronize( &synch_info ); 
 
  
 