Sdílet prostřednictvím


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
)
public SyncKnowledge GetLearnedKnowledgeWithPrerequisite (
    SyncKnowledge destinationKnowledge
)
public function GetLearnedKnowledgeWithPrerequisite (
    destinationKnowledge : SyncKnowledge
) : SyncKnowledge

Parameters

  • destinationKnowledge
    A knowledge fragment is added to the returned learned knowledge only if destinationKnowledge contains the prerequisite knowledge for that fragment.

Return Value

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 type Condition

ArgumentNullException

A required parameter is a null reference (Nothing in Visual Basic).

See Also

Reference

ChangeBatch Class
ChangeBatch Members
Microsoft.Synchronization Namespace