Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Obtains the last time a specified publication was downloaded.
public ul_bool ULGetLastDownloadTime(
SQLCA * sqlca,
char const * pub_name,
DECL_DATETIME * value
A pointer to the SQLCA.
A string containing a publication name for which the last download time is retrieved.
A pointer to the DECL_DATETIME structure to be populated. For example, the value of January 1, 1990 indicates
that the publication has yet to be synchronized.
True when the value is successfully populated by the last download time of the publication specified by the pub_name value;
Otherwise, returns false.
The following call populates the dt structure with the date and time that the UL_PUB_PUB1 publication was downloaded:
ret = ULGetLastDownloadTime( &sqlca, UL_TEXT("UL_PUB_PUB1"), &dt );