UltraLite Static C++ User's Guide
C++ API Reference
ULConnection class
bool GetLastDownloadTime(
ul_publication_mask mask,
DECL_DATETIME *value )
Provides the last time a specified publication was downloaded.
publication-mask A set of publications for which the last download time is retrieved. 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.
value A pointer to the DECL_DATETIME structure to be populated.
A value of January 1, 1990 indicates that the publication has yet to be synchronized.
true Indicates that value is successfully populated by the last download time of the publication specified by publication-mask.
false Indicates that publication-mask specifies more than one publication or that the publication is undefined. If the return value is false, the contents of value are not meaningful.