Share via


ISyncChange::GetLearnedKnowledge

Gets the knowledge that a replica will learn when this change is applied to its item store.

Syntax

HRESULT GetLearnedKnowledge(
  ISyncKnowledge ** ppLearnedKnowledge);

Parameters

Parameter

Description

ppLearnedKnowledge

[out] Returns the knowledge that a replica will learn when this change is applied to its item store. This knowledge is valid only when the current knowledge of the replica contains the prerequisite knowledge of the change batch that contains this change. This knowledge is only meaningful when the ISyncChange object represents a change from the source provider.

Return Value

  • S_OK.

  • E_POINTER.

  • E_OUTOFMEMORY.

  • SYNC_E_CHANGE_NEEDS_KNOWLEDGE when the change has not been added to a change batch group or if the change batch group has not been ended.

Remarks

GetLearnedKnowledge can be used by a provider that uses a custom change applier.

See Also

Reference

ISyncChange Interface