Sdílet prostřednictvím


ISyncChangeWithPrerequisite::GetLearnedKnowledgeWithPrerequisite

Gets the knowledge that the destination replica learns when the destination provider applies this change, based on the prerequisite knowledge that is associated with the change.

HRESULT GetLearnedKnowledgeWithPrerequisite(
  ISyncKnowledge * pDestinationKnowledge,
  ISyncKnowledge ** ppLearnedKnowledgeWithPrerequisite);

Parameters

Term

Definition

pDestinationKnowledge

[in] Knowledge of a change unit that is contained in this change is not added to the returned learned knowledge when pDestinationKnowledge contains the prerequisite knowledge for the change unit.

ppLearnedKnowledgeWithPrerequisite

[out] Returns the knowledge that the destination replica learns when the destination provider applies this change, based on the prerequisite knowledge that is associated with the change.

Return Value

  • S_OK.

  • E_OUTOFMEMORY.

  • E_POINTER.

  • SYNC_E_CHANGE_NEEDS_KNOWLEDGE when this object does not contain prerequisite knowledge.

See Also

Reference

ISyncChangeWithPrerequisite Interface