ISyncChange::GetLearnedKnowledge method (winsync.h)
Gets the knowledge that a replica will learn when this change is applied to its item store.
HRESULT GetLearnedKnowledge( ISyncKnowledge **ppLearnedKnowledge );
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.
The possible return codes include, but are not limited to, the values shown in the following table.
||The method succeeded.|
||When pbCurrentReplicaId is not the correct replica ID.|
||When the change has not been added to a change batch group or if the change batch group has not been ended.|
GetLearnedKnowledge can be used by a provider that uses a custom change applier.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|