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 virtual bool GetLastDownloadTime(
const char * publication,
DECL_DATETIME * value
The publication name.
A pointer to the DECL_DATETIME structure to be populated. The value of January 1, 1900 indicates that
the publication has yet to be synchronized, or the time was reset.
True when the value is successfully populated by the last download time of the publication specified; otherwise, returns false.
The following call populates the dt structure with the date and time that the 'pub1' publication was downloaded:
ok = conn->GetLastDownloadTime( "pub1", &dt );