ForgottenKnowledge::ForgetTo Method

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

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

public:
void ForgetTo(
	SyncKnowledge^ knowledge, 
	SyncVersion^ version
)

Parameters

knowledge
Type: Microsoft.Synchronization::SyncKnowledge
The current knowledge of the replica that owns this forgotten knowledge object.
version
Type: Microsoft.Synchronization::SyncVersion
The version of the tombstone that has been cleaned up.

ExceptionCondition
ArgumentNullException

knowledge or version is a nullptr.

InvalidKnowledgeVersionException

version is less than the current minimum version.

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.

Show: