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 |