ISyncChangeBatchBase::EndOrderedGroup method (winsync.h)
Closes a previously opened ordered group in the change batch.
Syntax
HRESULT EndOrderedGroup(
[in] const BYTE *pbUpperBound,
[in] ISyncKnowledge *pMadeWithKnowledge
);
Parameters
[in] pbUpperBound
The closed upper bound of item IDs for this ordered group. To specify an upper bound of infinity, use NULL.
[in] pMadeWithKnowledge
The knowledge of the replica that made this group.
Return value
The possible return codes include, but are not limited to, the values shown in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
No group is open or an unordered group is open. |
|
pbUpperBound is less than the ID of the last item that was added to the group. |
|
The object is an ISyncFullEnumerationChangeBatch object and a group has already been added to the batch. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | winsync.h |