Share via


IReplicaMetadata::SetForgottenKnowledge

Sets the forgotten knowledge for this replica.

HRESULT SetForgottenKnowledge(
  IForgottenKnowledge * pForgottenKnowledge);

Parameters

  • pForgottenKnowledge
    [in] The forgotten knowledge to set for this replica. Can be NULL.

Return Value

  • S_OK

  • E_POINTER

Remarks

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

Note

This method does not save the change to the store. The provider must call IReplicaMetadata::SaveReplicaMetadata to save all changes that have been made to the IReplicaMetadata properties.

See Also

Reference

IReplicaMetadata Interface