Partager via


Événement RelationalSyncProvider.BatchApplied

Se produit après l'application à la destination de chaque lot de modifications.

Cet événement n'est pas conforme CLS.  

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

Syntaxe

'Déclaration
Public Event BatchApplied As EventHandler(Of DbBatchAppliedEventArgs)
'Utilisation
Dim instance As RelationalSyncProvider
Dim handler As EventHandler(Of DbBatchAppliedEventArgs)

AddHandler instance.BatchApplied, handler
public event EventHandler<DbBatchAppliedEventArgs> BatchApplied
public:
event EventHandler<DbBatchAppliedEventArgs^>^ BatchApplied {
    void add (EventHandler<DbBatchAppliedEventArgs^>^ value);
    void remove (EventHandler<DbBatchAppliedEventArgs^>^ value);
}
/** @event */
public void add_BatchApplied (EventHandler<DbBatchAppliedEventArgs> value)

/** @event */
public void remove_BatchApplied (EventHandler<DbBatchAppliedEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.

Notes

Par défaut, Sync Framework remet les modifications à chaque nœud dans un même objet DataSet. L'événement BatchApplied est déclenché uniquement lorsque les modifications sont remises dans les lots. Pour plus d'informations, consultez Procédure : remettre des modifications dans des lots (SQL Server).

Voir aussi

Référence

Classe RelationalSyncProvider
Membres RelationalSyncProvider
Espace de noms Microsoft.Synchronization.Data