Share via


ISyncChangeBatchAdvanced::GetBatchLevelKnowledgeShouldBeApplied

Gets a value that indicates whether the learned knowledge for the batch must be saved after the batch is applied to the destination replica.

Syntax

HRESULT GetBatchLevelKnowledgeShouldBeApplied(
  BOOL *pfBatchKnowledgeShouldBeApplied);

Parameters

  • pfBatchKnowledgeShouldBeApplied
    [out] Returns a value that indicates whether the learned knowledge for the batch must be saved after the batch is applied to the destination replica.

Return Value

  • S_OK

  • E_POINTER

  • SYNC_E_BATCH_NEEDS_KNOWLEDGE when the change batch contains no changes and no knowledge.

Remarks

Typically, the destination provider saves the learned knowledge for each item change as it is applied to the destination replica. The value that is returned by GetBatchLevelKnowledgeShouldBeApplied indicates whether it is also necessary to save the learned knowledge of the change batch after the entire change batch has been applied. The learned knowledge of the change batch can be obtained by calling ISyncChangeBatchBase::GetLearnedKnowledge.

See Also

Reference

ISyncChangeBatchAdvanced Interface