Share via


ReplicaMetadata.SetForgottenKnowledge Method

When overridden in a derived class, sets the forgotten knowledge for this replica.

Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)

Syntax

'Declaration
Public MustOverride Sub SetForgottenKnowledge ( _
    forgottenKnowledge As ForgottenKnowledge _
)
'Usage
Dim instance As ReplicaMetadata
Dim forgottenKnowledge As ForgottenKnowledge

instance.SetForgottenKnowledge(forgottenKnowledge)
public abstract void SetForgottenKnowledge (
    ForgottenKnowledge forgottenKnowledge
)
public:
virtual void SetForgottenKnowledge (
    ForgottenKnowledge^ forgottenKnowledge
) abstract
public abstract void SetForgottenKnowledge (
    ForgottenKnowledge forgottenKnowledge
)
public abstract function SetForgottenKnowledge (
    forgottenKnowledge : ForgottenKnowledge
)

Parameters

  • forgottenKnowledge
    The forgotten knowledge to set for this replica.

Exceptions

Exception type Condition

ObjectDisposedException

The object has been disposed or was not initialized correctly.

Remarks

The forgotten knowledge of a replica represents items that have been deleted from the item store and also have had their tombstones removed from the metadata store. It is used to help prevent reintroduction of deleted items.

See Also

Reference

ReplicaMetadata Class
ReplicaMetadata Members
Microsoft.Synchronization.MetadataStorage Namespace