DbSyncProvider.GetFullEnumerationChangeBatch 方法

在给定批大小、下限、知识以及变更数据检索器参数的情况下,获取要同步的变更批。

此方法不符合 CLS。  符合 CLS 的备选项为

命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
Public Overrides Function GetFullEnumerationChangeBatch ( _
    batchSize As UInteger, _
    lowerEnumerationBound As SyncId, _
    knowledgeForDataRetrieval As SyncKnowledge, _
    <OutAttribute> ByRef changeDataRetriever As Object _
) As FullEnumerationChangeBatch
用法
Dim instance As DbSyncProvider
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)
[CLSCompliantAttribute(false)] 
public override FullEnumerationChangeBatch GetFullEnumerationChangeBatch (
    uint batchSize,
    SyncId lowerEnumerationBound,
    SyncKnowledge knowledgeForDataRetrieval,
    out Object changeDataRetriever
)
[CLSCompliantAttribute(false)] 
public:
virtual FullEnumerationChangeBatch^ GetFullEnumerationChangeBatch (
    unsigned int batchSize, 
    SyncId^ lowerEnumerationBound, 
    SyncKnowledge^ knowledgeForDataRetrieval, 
    [OutAttribute] Object^% changeDataRetriever
) override
/** @attribute CLSCompliantAttribute(false) */ 
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 对象。

备注

Sync Framework 核心文档中记载了 Microsoft.Synchronization.dll 以及有关“同步知识”**的关联概念。若要下载此文档,请转到此 Microsoft Web site

请参阅

参考

DbSyncProvider 类
DbSyncProvider 成员
Microsoft.Synchronization.Data 命名空间