Share via


ISyncChangeBatchWithFilterKeyMap::GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete

Gets the forgotten knowledge that the filtered destination replica learns when the destination provider applies all the changes in this change batch as part of a recovery synchronization.

Syntax

HRESULT GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete(
  ISyncKnowledge *  pDestinationKnowledge,
  IEnumItemIds   *  pNewMoveins,
  ISyncKnowledge ** ppLearnedKnowledge);

Parameters

  • pDestinationKnowledge
    [in] When the change batch contains prerequisite knowledge, a knowledge fragment is added to the returned learned forgotten knowledge only if pDestinationKnowledge contains the prerequisite knowledge for that fragment.

  • pNewMoveins
    [in] Identifies items in the destination replica that have recently moved into the filter. These items are excluded from the returned learned knowledge. This list must include all items that have a filter move-in version that is not contained in the made-with knowledge of the change batch.

  • ppLearnedKnowledge
    [out] Returns the forgotten knowledge that the filtered destination replica learns when the destination provider applies all the changes in this change batch as part of a recovery synchronization.

Return Value

  • S_OK.

  • E_POINTER.

  • SYNC_E_CHANGE_NEEDS_KNOWLEDGE when the change batch does not contain made-with knowledge.

  • SYNC_E_INVALID_OPERATION when the change batch is not part of a recovery synchronization.

See Also

Reference

ISyncChangeBatchWithFilterKeyMap Interface