Sdílet prostřednictvím


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
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

Synchronization Services 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SyncContext Class
SyncContext Members
Microsoft.Synchronization.Data Namespace