IItemMetadata::SetChangeVersion

Sets the version of the most recent change made to the item.


HRESULT SetChangeVersion(
  const SYNC_VERSION * pCurrentVersion);

pCurrentVersion

[in] The version of the most recent change made to the item.

  • S_OK

  • E_POINTER

  • E_OUTOFMEMORY

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.

NoteNote

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.

Show: