Contents Index Reopen method RevokeConnectFrom method pdf/preface.pdf

UltraLite User's Guide
  C++ API Reference
    ULConnection class

ResetLastDownloadTime method


Prototype 

bool ResetLastDownloadTime( ul_publication_mask publication-mask )

Description 

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.

Parameters 

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.

Example 

The following example resets the download time for all tables in the database:

db.Reopen();
conn.ResetLastDownloadTime( UL_SYNC_ALL );
See also 

GetLastDownloadTime method

Timestamp-based synchronization


Contents Index Reopen method RevokeConnectFrom method pdf/preface.pdf