Contents Index ULPalmLaunch function ULRetrieveEncryptionKey function pdf/preface.pdf

UltraLite User's Guide
  The Embedded SQL Interface
    Library function reference

ULResetLastDownloadTime function


Prototype 

void ULResetLastDownloadTime( 
SQLCA * sqlca
ul_publication_mask publication-mask );

Description 

This function 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 

sqlca    A pointer to the SQLCA.

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 function call resets the last download time for all tables:

ULResetLastDownloadTime( &sqlca, UL_SYNC_ALL );
See also 

ULGetLastDownloadTime function

Timestamp-based synchronization


Contents Index ULPalmLaunch function ULRetrieveEncryptionKey function pdf/preface.pdf