ISynchronousNotifyingChangeApplierTarget::SaveKnowledge

Saves the knowledge for the current scope.


HRESULT SaveKnowledge(
  ISyncKnowledge * pSyncKnowledge,
  IForgottenKnowledge * pForgottenKnowledge);

pSyncKnowledge

[in] The updated knowledge to be saved.

pForgottenKnowledge

[in] The forgotten knowledge to be saved. If this parameter is NULL, existing forgotten knowledge remains unchanged and should not be replaced.

  • S_OK

  • Provider-determined error codes

pSyncKnowledge must replace the existing knowledge for the scope. If pForgottenKnowledge is not NULL, it must also replace the forgotten knowledge for the scope; otherwise, the existing forgotten knowledge must be kept. Sync Framework calls this method one time per change batch after all changes in the change batch have been processed.

Show: