Udostępnij za pośrednictwem


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
'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);
}
/** @property */
public int get_BatchCount ()

/** @property */
public void set_BatchCount (int value)
public function get BatchCount () : int

public function set BatchCount (value : int)

Property Value

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
SyncContext Members
Microsoft.Synchronization.Data Namespace