IReplicaMetadata::SetKnowledge

Sets the current knowledge for this replica.


HRESULT SetKnowledge(
  ISyncKnowledge * pKnowledge);

pKnowledge

[in] The knowledge to set as the current knowledge for this replica.

  • S_OK

  • E_POINTER

This knowledge object represents changes that have been made to the items in this replica. To other providers, this knowledge object represents the current versions of the items in this replica.

A provider can use this method to save its knowledge when its ISynchronousNotifyingChangeApplierTarget::SaveKnowledgemethod is called by Sync Framework.

NoteNote

This method does not save the change to the store. The provider must call IReplicaMetadata::SaveReplicaMetadata to save all changes that have been made to the IReplicaMetadata properties.

Show: