Événement BatchSpooled
Se produit après l'écriture de chaque lot de modifications sur le disque.
Espace de noms : Microsoft.Synchronization.Data
Assembly : Microsoft.Synchronization.Data (dans Microsoft.Synchronization.Data.dll)
Syntaxe
'Déclaration
Public Event BatchSpooled As EventHandler(Of DbBatchSpooledEventArgs)
'Utilisation
Dim instance As RelationalSyncProvider
Dim handler As EventHandler(Of DbBatchSpooledEventArgs)
AddHandler instance.BatchSpooled, handler
public event EventHandler<DbBatchSpooledEventArgs> BatchSpooled
public:
event EventHandler<DbBatchSpooledEventArgs^>^ BatchSpooled {
void add (EventHandler<DbBatchSpooledEventArgs^>^ value);
void remove (EventHandler<DbBatchSpooledEventArgs^>^ value);
}
member BatchSpooled : IEvent<EventHandler<DbBatchSpooledEventArgs>,
DbBatchSpooledEventArgs>
Notes
Par défaut, Sync Framework remet les modifications à chaque nœud dans un même objet DataSet. L'événement BatchSpooled est déclenché uniquement lorsque les modifications sont remises par lots. Pour plus d'informations, consultez Procédure : remettre des modifications dans des lots (SQL Server).