Obtains the last time a specified publication was downloaded.
ul_bool ULGetLastDownloadTime ( SQLCA * sqlca, ul_string pub-name, DECL_DATETIME * value );
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:
DECL_DATETIME dt; ret = ULGetLastDownloadTime( &sqlca, UL_TEXT("UL_PUB_PUB1"), &dt );
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|