ISyncChangeWithFilterKeyMap::GetFilteredReplicaLearnedKnowledge

Gets the knowledge that the filtered destination replica learns when the destination provider applies this change.


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

pDestinationKnowledge

[in] When the change contains prerequisite knowledge, a knowledge fragment is added to the returned learned 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.

ppLearnedKnowledge

[out] Returns the knowledge that the filtered destination replica learns when the destination provider applies this change.

  • S_OK.

  • E_POINTER.

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

Show: