UltraLite Static C++ User's Guide
C++ API Reference
ULConnection class
bool ResetLastDownloadTime( ul_publication_mask publication-mask )
This method can be used to repopulate values and return an application to a known clean state. It resets the last download time so that the application resynchronizes previously downloaded data.
publication-mask A set of publications to check. A value of 0 corresponds to the entire database. The set is supplied as a mask. For example, the following mask corresponds to publications PUB1 and PUB2.:
UL_PUB_PUB1 | UL_PUB_PUB2
For more information on publication masks, see publication synchronization parameter.
The following example resets the download time for all tables in the database:
db.Reopen(); conn.ResetLastDownloadTime( UL_SYNC_ALL );
Timestamp-based synchronization