SyncContext.BatchCount Property

Gets or sets the number of batches that are required to synchronize a group of tables.

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

Syntax

'Declaration
Public Property BatchCount As Integer
    Get
    Set
'Usage
Dim instance As SyncContext
Dim value As Integer

value = instance.BatchCount

instance.BatchCount = value
public int BatchCount { get; set; }
public:
property int BatchCount {
    int get ();
    void set (int value);
}
member BatchCount : int with get, set
function get BatchCount () : int
function set BatchCount (value : int)

Property Value

Type: System.Int32
The number of batches that are required to synchronize a group of tables.

Remarks

Sync Framework enables applications to download batches of changes to the client (batching is not supported on upload). Batching is enabled by specifying a value for the BatchSize property, and creating a command for the SelectNewAnchorCommand property that can return anchor values for each batch of changes. For more information, see How to: Specify the Order and Batch Size of Changes.

See Also

Reference

SyncContext Class

Microsoft.Synchronization.Data Namespace