ULGetLastDownloadTime function

Obtains the last time a specified publication was downloaded.

Syntax
ul_bool ULGetLastDownloadTime (
SQLCA * sqlca,
ul_string pub-name,
DECL_DATETIME * value
);
Parameters

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.

Returns
  • 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.

Examples

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 );
See also