Share via


IForgottenKnowledge::ForgetToVersion

Updates the forgotten knowledge to reflect that all versions that are less than or equal to the specified version might have been forgotten, and that corresponding tombstones might have been deleted.

HRESULT ForgetToVersion( 
  ISyncKnowledge *pKnowledge,
  const SYNC_VERSION *pVersion);

Parameters

  • pKnowledge
    [in] The current knowledge of the replica that owns this forgotten knowledge object.
  • pVersion
    [in] The version of the tombstone that has been cleaned up.

Return Value

  • S_OK

  • E_INVALIDARG

  • E_OUTOFMEMORY

Remarks

When a replica cleans up the tombstone for an item, its associated provider must call this method and specify the version of the tombstone that was removed.

See Also

Reference

IForgottenKnowledge Interface
SYNC_VERSION Structure

Concepts

Managing Tombstones
Recovering an Out-of-Date Replica