IItemMetadata::SetChangeUnitVersion
Sets the version of a change unit that is contained in the item.
HRESULT SetChangeUnitVersion(
BYTE * pbChangeUnitId,
const SYNC_VERSION * pChangeVersion);
Parameters
- pbChangeUnitId
[in] The ID of the change unit.
- pChangeVersion
[in] The version of the change unit.
Return Value
S_OK
E_POINTER
Remarks
The version of a change unit contains the replica key of the replica that most recently changed the change unit, and the tick count of that replica when the change was made.
Note
This method does not save the change to the store. IReplicaMetadata::SaveItemMetadata must be called to save all changes that have been made to the IItemMetadata properties.