Share via


DbSyncBatchInfo.SetLearnedKnowledge Method

Sets the synchronization knowledge that is learned by the destination after it applies this batch.

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

Syntax

'Declaration
Public Sub SetLearnedKnowledge ( _
    knowledgeBytes As Byte() _
)
'Usage
Dim instance As DbSyncBatchInfo
Dim knowledgeBytes As Byte()

instance.SetLearnedKnowledge(knowledgeBytes)
public void SetLearnedKnowledge(
    byte[] knowledgeBytes
)
public:
void SetLearnedKnowledge(
    array<unsigned char>^ knowledgeBytes
)
member SetLearnedKnowledge : 
        knowledgeBytes:byte[] -> unit 
public function SetLearnedKnowledge(
    knowledgeBytes : byte[]
)

Parameters

  • knowledgeBytes
    Type: System.Byte[]
    A byte array that represents the learned knowledge.

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

DbSyncBatchInfo Class

Microsoft.Synchronization.Data Namespace