IItemMetadata::SetCreationVersion

Sets the creation version of the item.

HRESULT SetCreationVersion(
  const SYNC_VERSION * pCreationVersion);

Parameters

  • pCreationVersion
    [in] The creation version of the item.

Return Value

  • S_OK

  • E_POINTER

  • E_OUTOFMEMORY

Remarks

The creation version of an item contains the replica key of the replica that created the item, and the tick count of that replica when the item was created.

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.

See Also

Reference

IItemMetadata Interface