ReplicaMetadata.GetForgottenKnowledge Method

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

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

Syntax

'Declaration
Public MustOverride Function GetForgottenKnowledge As ForgottenKnowledge
'Usage
Dim instance As ReplicaMetadata
Dim returnValue As ForgottenKnowledge

returnValue = instance.GetForgottenKnowledge()
public abstract ForgottenKnowledge GetForgottenKnowledge()
public:
virtual ForgottenKnowledge^ GetForgottenKnowledge() abstract
abstract GetForgottenKnowledge : unit -> ForgottenKnowledge 
public abstract function GetForgottenKnowledge() : ForgottenKnowledge

Return Value

Type: Microsoft.Synchronization.ForgottenKnowledge
The forgotten knowledge for this replica. If no forgotten knowledge is associated with this replica, getting this property returns ForgottenKnowledge.Empty.

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