Propriété SyncContext.BatchCount
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
'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);
}
/** @property */
public int get_BatchCount ()
/** @property */
public void set_BatchCount (int value)
public function get BatchCount () : int
public function set BatchCount (value : int)
Valeur de propriété
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
Classe SyncContext
Membres SyncContext
Espace de noms Microsoft.Synchronization.Data