共用方式為


RelationalSyncProvider.GetChangeBatch 方法

在給定批次大小、目的地知識和變更資料擷取器參數時,取得要同步處理的變更批次。

此方法與 CLS 不相容。  

命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)

語法

'宣告
Public Overrides Function GetChangeBatch ( _
    batchSize As UInteger, _
    destinationKnowledge As SyncKnowledge, _
    <OutAttribute> ByRef changeDataRetriever As Object _
) As ChangeBatch
'用途
Dim instance As RelationalSyncProvider
Dim batchSize As UInteger
Dim destinationKnowledge As SyncKnowledge
Dim changeDataRetriever As Object
Dim returnValue As ChangeBatch

returnValue = instance.GetChangeBatch(batchSize, destinationKnowledge, changeDataRetriever)
public override ChangeBatch GetChangeBatch (
    uint batchSize,
    SyncKnowledge destinationKnowledge,
    out Object changeDataRetriever
)
public:
virtual ChangeBatch^ GetChangeBatch (
    unsigned int batchSize, 
    SyncKnowledge^ destinationKnowledge, 
    [OutAttribute] Object^% changeDataRetriever
) override
public ChangeBatch GetChangeBatch (
    UInt32 batchSize, 
    SyncKnowledge destinationKnowledge, 
    /** @attribute OutAttribute() */ /** @ref */ Object changeDataRetriever
)
JScript does not support passing value-type arguments by reference.

參數

  • batchSize
    要在每個變更批次中同步處理的變更數目。
  • destinationKnowledge
    SyncKnowledge 物件,此物件包含提供者對於套用變更之遠端存放區具備的相關知識。
  • changeDataRetriever
    將用來擷取已修改資料的物件。

傳回值

包含要同步處理之變更批次的 ChangeBatch 物件。

請參閱

參考

RelationalSyncProvider 類別
RelationalSyncProvider 成員
Microsoft.Synchronization.Data 命名空間