Delen via


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.

Return Value

  • S_OK

  • E_POINTER if pfLastBatch is NULL

Remarks

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.

See Also

Reference

ISyncChangeBatchBase Interface