RelationalSyncProvider.GetSyncBatchParameters Method

Gets the number of kilobytes of data that will be included in change batches, and the current knowledge for the synchronization scope.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Overrides Sub GetSyncBatchParameters ( _
    <OutAttribute> ByRef batchSize As UInteger, _
    <OutAttribute> ByRef knowledge As SyncKnowledge _
)
'Usage
Dim instance As RelationalSyncProvider
Dim batchSize As UInteger
Dim knowledge As SyncKnowledge

instance.GetSyncBatchParameters(batchSize, _
    knowledge)
public override void GetSyncBatchParameters(
    out uint batchSize,
    out SyncKnowledge knowledge
)
public:
virtual void GetSyncBatchParameters(
    [OutAttribute] unsigned int% batchSize, 
    [OutAttribute] SyncKnowledge^% knowledge
) override
abstract GetSyncBatchParameters : 
        batchSize:uint32 byref * 
        knowledge:SyncKnowledge byref -> unit 
override GetSyncBatchParameters : 
        batchSize:uint32 byref * 
        knowledge:SyncKnowledge byref -> unit 
public override function GetSyncBatchParameters(
    batchSize : uint, 
    knowledge : SyncKnowledge
)

Parameters

  • batchSize
    Type: System.UInt32%
    The number of kilobytes of data to synchronize in each change batch. This value is the same as the MemoryDataCacheSize property.

Exceptions

Exception Condition
ObjectDisposedException

This RelationalSyncProvider is disposed.

See Also

Reference

RelationalSyncProvider Class

Microsoft.Synchronization.Data Namespace