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 值指定的发布的上次下载时间成功填充值时返回 ture;否则返回 false。
以下调用使用发布 UL_PUB_PUB1 的下载日期和时间填充 dt 结构:
DECL_DATETIME dt; ret = ULGetLastDownloadTime( &sqlca, UL_TEXT("UL_PUB_PUB1"), &dt );