Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
)
member ForgetTo :
knowledge:SyncKnowledge *
version:SyncVersion -> unit
public function ForgetTo(
knowledge : SyncKnowledge,
version : SyncVersion
)
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.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | knowledge or version is a null reference (Nothing in Visual Basic). |
| InvalidKnowledgeVersionException | version is less than the current minimum version. |
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
Microsoft.Synchronization Namespace