ISyncChangeBatchAdvanced::GetBatchLevelKnowledgeShouldBeApplied method (winsync.h)
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(
[out] BOOL *pfBatchKnowledgeShouldBeApplied
);
Parameters
[out] pfBatchKnowledgeShouldBeApplied
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
The possible return codes include, but are not limited to, the values shown in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
Invalid pointer. |
|
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | winsync.h |