Export (0) Print
Expand All

ISyncChangeBatchBase::GetIsLastBatch

Gets a flag that indicates whether the changes in this change batch are the last batch of a synchronization session.


HRESULT GetIsLastBatch(
  BOOL * pfLastBatch);

Parameters

pfLastBatch

[out] Returns a flag that indicates whether this batch is the last batch.

  • S_OK

  • E_POINTER if pfLastBatch is NULL

When returning a change batch in response to the IKnowledgeSyncProvider::GetChangeBatch method, the source provider must call SetLastBatch if the change batch is the last batch of changes. Otherwise, Sync Framework calls GetChangeBatch again to retrieve another batch of changes.

Show:
© 2015 Microsoft