Share via


UnmanagedSyncProviderWrapper.GetFullEnumerationChangeBatch 方法

从非托管提供程序中获取变更批,作为完全枚举的一部分。

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

语法

声明
Public Overrides Function GetFullEnumerationChangeBatch ( _
    batchSize As UInteger, _
    lowerEnumerationBound As SyncId, _
    knowledgeForDataRetrieval As SyncKnowledge, _
    <OutAttribute> ByRef changeDataRetriever As Object _
) As FullEnumerationChangeBatch
用法
Dim instance As UnmanagedSyncProviderWrapper
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
    要枚举的项 ID 的封闭下限。此方法返回其项 ID 大于或等于此值的变更。
  • knowledgeForDataRetrieval
    指定已了解其数据的项的知识对象。
  • changeDataRetriever
    返回一个可用于检索变更数据的对象。

返回值

来自非托管提供程序的变更批。

备注

此方法对非托管 IKnowledgeSyncProvider::GetFullEnumerationChangeBatch 方法进行包装。

如果已指定变更数据检索器适配器,则此方法会在其返回 changeDataRetriever 之前将非托管提供程序返回的变更数据检索器转换为该检索器的托管表示形式。否则,将在不进行任何转换的情况下返回变更数据检索器。

请参阅

参考

UnmanagedSyncProviderWrapper 类
UnmanagedSyncProviderWrapper 成员
Microsoft.Synchronization 命名空间