共用方式為


UnmanagedSyncProviderWrapper.GetFullEnumerationChangeBatch 方法

從 Unmanaged 提供者中取得變更批次 (完整列舉的一部分)。

命名空間: 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
    要列舉之項目識別碼的封閉下限。這個方法會傳回項目識別碼大於或等於此值的變更。
  • knowledgeForDataRetrieval
    指定已知資料之項目的知識物件。
  • changeDataRetriever
    傳回可用來擷取變更資料的物件。

傳回值

Unmanaged 提供者的變更批次。

備註

這個方法會包裝 Unmanaged IKnowledgeSyncProvider::GetFullEnumerationChangeBatch 方法。

如果指定了變更資料擷取器配接器,這個方法就會將 Unmanaged 提供者所傳回的變更資料擷取器轉換成其 Managed 表示,然後再傳回 changeDataRetriever。否則,只會傳回未經任何轉換的變更資料擷取器。

請參閱

參考

UnmanagedSyncProviderWrapper 類別
UnmanagedSyncProviderWrapper 成員
Microsoft.Synchronization 命名空間