Partager via


BatchCount propriété

Obtient ou définit le nombre de lots requis pour synchroniser un groupe de tables.

Espace de noms :  Microsoft.Synchronization.Data
Assembly :  Microsoft.Synchronization.Data (dans Microsoft.Synchronization.Data.dll)

Syntaxe

'Déclaration
Public Property BatchCount As Integer
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .Int32
Nombre de lots requis pour synchroniser un groupe de tables.

Notes

Sync Framework permet aux applications de télécharger des lots de modifications vers le client (le traitement par lots n'est pas pris en charge pour le téléchargement ascendant). Le traitement par lots est activé en spécifiant une valeur pour la propriété BatchSize et en créant une commande pour la propriété SelectNewAnchorCommand qui peut retourner des valeurs d'ancre pour chaque lot de modifications. Pour plus d'informations, consultez Procédure : spécifier l'ordre et la taille de lot des modifications.

Voir aussi

Référence

SyncContext Classe

Membres SyncContext

Espace de noms Microsoft.Synchronization.Data