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)

Syntax

'Declaration
Public Sub ForgetTo ( _
    knowledge As SyncKnowledge, _
    version As SyncVersion _
)
'Usage
Dim instance As ForgottenKnowledge
Dim knowledge As SyncKnowledge
Dim version As SyncVersion

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

Parameters

  • knowledge
    The current knowledge of the replica that owns this forgotten knowledge object.
  • version
    The version of the tombstone that has been cleaned up.

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

ForgottenKnowledge Class
ForgottenKnowledge Members
Microsoft.Synchronization Namespace

Concepts

Managing Tombstones