IItemMetadata::SetChangeVersion
Sets the version of the most recent change made to the item.
HRESULT SetChangeVersion(
const SYNC_VERSION * pCurrentVersion);
Parameters
- pCurrentVersion
[in] The version of the most recent change made to the item.
Return Value
S_OK
E_POINTER
E_OUTOFMEMORY
Remarks
The change version of an item contains the replica key of the replica that most recently made a change to the item, 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.