Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
获得上次下载指定发布的时间。
public virtual bool GetLastDownloadTime( const char * publication, DECL_DATETIME * value )
publication 发布名称。
value 指向要填充的 DECL_DATETIME 结构的指针。值 1900 年 1 月 1 日表示该发布尚未同步,或已将时间重置。
当指定的发布的上次下载时间成功填充值时返回 ture;否则返回 false。
以下调用使用发布 'pub1' 的下载日期和时间填充 dt 结构:
DECL_DATETIME dt; ok = conn->GetLastDownloadTime( "pub1", &dt );