共用方式為


RelationalSyncProvider.GetFullEnumerationChangeBatch 方法

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

此方法與 CLS 不相容。  

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

語法

'宣告
Public Overrides Function GetFullEnumerationChangeBatch ( _
    batchSize As UInteger, _
    lowerEnumerationBound As SyncId, _
    knowledgeForDataRetrieval As SyncKnowledge, _
    <OutAttribute> ByRef changeDataRetriever As Object _
) As FullEnumerationChangeBatch
'用途
Dim instance As RelationalSyncProvider
Dim batchSize As UInteger
Dim lowerEnumerationBound As SyncId
Dim knowledgeForDataRetrieval As SyncKnowledge
Dim changeDataRetriever As Object
Dim returnValue As FullEnumerationChangeBatch

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

參數

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

傳回值

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

請參閱

參考

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