Dela 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
abstract SetForgottenKnowledge : 
        forgottenKnowledge:ForgottenKnowledge -> unit 
public abstract function SetForgottenKnowledge(
    forgottenKnowledge : ForgottenKnowledge
)

Parameters

Exceptions

Exception 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

Microsoft.Synchronization.MetadataStorage Namespace