ISyncChangeBatch::EndUnorderedGroup method (winsync.h)

Closes a previously opened unordered group in the change batch.

Syntax

HRESULT EndUnorderedGroup(
  [in] ISyncKnowledge *pMadeWithKnowledge,
  [in] BOOL           fAllChangesForKnowledge
);

Parameters

[in] pMadeWithKnowledge

The made-with knowledge for the changes in the group. Typically, this is the knowledge of the replica that made this group.

[in] fAllChangesForKnowledge

TRUE when all the changes contained in pMadeWithKnowledge are included in this change batch; otherwise, FALSE.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
SYNC_E_INVALID_OPERATION
No group is open or an ordered group is open.
SYNC_E_CHANGE_BATCH_IS_READ_ONLY

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

See also

ISyncChangeBatch Interface

ISyncKnowledge Interface