ISyncChangeWithPrerequisite::GetLearnedKnowledgeWithPrerequisite method (winsync.h)
Gets the knowledge that the destination replica learns when the destination provider applies this change, based on the prerequisite knowledge that is associated with the change.
Syntax
HRESULT GetLearnedKnowledgeWithPrerequisite(
[in] ISyncKnowledge *pDestinationKnowledge,
[out] ISyncKnowledge **ppLearnedKnowledgeWithPrerequisite
);
Parameters
[in] pDestinationKnowledge
The knowledge of a change unit that is contained in this change is not added to the returned learned knowledge when pDestinationKnowledge contains the prerequisite knowledge for the change unit.
[out] ppLearnedKnowledgeWithPrerequisite
The knowledge that the destination replica learns when the destination provider applies this change, based on the prerequisite knowledge that is associated with the change.
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. |
|
There was not enough memory available to return the knowledge. |
|
Invalid pointer. |
|
This object does not contain prerequisite knowledge. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | winsync.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for