Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » Embedded SQL API reference


ULGetLastDownloadTime function

Obtains the last time a specified publication was downloaded.

ul_bool ULGetLastDownloadTime (
SQLCA * sqlca,
ul_string pub-name,

sqlca   A pointer to the SQLCA.

pub-name   A string containing a publication name for which the last download time is retrieved.

value   A pointer to the DECL_DATETIME structure to be populated. For example, value of January 1, 1990 indicates that the publication has yet to be synchronized.

  • true   The value is successfully populated by the last download time of the publication specified by pub-name.

  • false   The pub-name specified more than one publication or the specified publication is undefined. The contents of value are not meaningful.


The following call populates the dt structure with the date and time that publication UL_PUB_PUB1 was downloaded:

ret = ULGetLastDownloadTime( &sqlca, UL_TEXT("UL_PUB_PUB1"), &dt );
See also