ISyncChangeBatchBase::EndOrderedGroup
Closes a previously opened ordered group in the change batch.
HRESULT EndOrderedGroup(
const BYTE * pbUpperBound,
ISyncKnowledge * pMadeWithKnowledge);
Parameters
- pbUpperBound
[in] The closed upper bound of item IDs for this ordered group. To specify an upper bound of infinity, use NULL.
- pMadeWithKnowledge
[in] The knowledge of the replica that made this group.
Return Value
S_OK
SYNC_E_INVALID_OPERATION when no group is open or an unordered group is open.
SYNC_E_RANGE_OUT_OF_ORDER when pbUpperBound is less than the ID of the last item that was added to the group.
SYNC_E_CHANGE_BATCH_IS_READ_ONLY when the ISyncChangeBatchBase object was created by using IProviderSyncServices::DeserializeChangeBatch or IProviderSyncServices::DeserializeFullEnumerationChangeBatch.