Share via


ChangeBatch.GetLearnedKnowledgeWithPrerequisite Method

Gets the knowledge that the destination replica learns when the destination provider applies all the changes in this change batch, based on the prerequisite knowledge of the change batch.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

'Declaration
Public Function GetLearnedKnowledgeWithPrerequisite ( _
    destinationKnowledge As SyncKnowledge _
) As SyncKnowledge
'Usage
Dim instance As ChangeBatch
Dim destinationKnowledge As SyncKnowledge
Dim returnValue As SyncKnowledge

returnValue = instance.GetLearnedKnowledgeWithPrerequisite(destinationKnowledge)
public SyncKnowledge GetLearnedKnowledgeWithPrerequisite(
    SyncKnowledge destinationKnowledge
)
public:
SyncKnowledge^ GetLearnedKnowledgeWithPrerequisite(
    SyncKnowledge^ destinationKnowledge
)
member GetLearnedKnowledgeWithPrerequisite : 
        destinationKnowledge:SyncKnowledge -> SyncKnowledge 
public function GetLearnedKnowledgeWithPrerequisite(
    destinationKnowledge : SyncKnowledge
) : SyncKnowledge

Parameters

  • destinationKnowledge
    Type: Microsoft.Synchronization.SyncKnowledge
    A knowledge fragment is added to the returned learned knowledge only if destinationKnowledge contains the prerequisite knowledge for that fragment.

Return Value

Type: Microsoft.Synchronization.SyncKnowledge
The knowledge that the destination replica learns when the destination provider applies all the changes in this change batch, based on the prerequisite knowledge of the change batch.

Exceptions

Exception Condition
ArgumentNullException

destinationKnowledge is a null reference (Nothing in Visual Basic).

See Also

Reference

ChangeBatch Class

Microsoft.Synchronization Namespace