Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
获得上次下载指定发布的时间。
public ul_bool ULGetLastDownloadTime( SQLCA * sqlca, char const * pub_name, DECL_DATETIME * value )
sqlca 指向 SQLCA 的指针。
pub_name 包含为其检索上次下载时间的发布名称的字符串。
value 指向要填充的 DECL_DATETIME 结构的指针。例如,值为 1990 年 1 月 1 日 说明仍必须同步该发布。
值由 pub-name 指定的发布的上次下载时间成功填充时返回 true。否则返回 false。
以下调用使用发布 UL_PUB_PUB1 的下载日期和时间填充 dt 结构:
DECL_DATETIME dt; ret = ULGetLastDownloadTime( &sqlca, UL_TEXT("UL_PUB_PUB1"), &dt );