Udostępnij za pośrednictwem


RelationalSyncProvider.BatchSpooled Event

Occurs after each batch of changes has been written to disk.

This event is not CLS-compliant.  

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Event BatchSpooled As EventHandler(Of DbBatchSpooledEventArgs)
'Usage
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);
}
/** @event */
public void add_BatchSpooled (EventHandler<DbBatchSpooledEventArgs> value)

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

Remarks

By default, Sync Framework delivers changes to each node in a single DataSet object. The BatchSpooled event is fired only when changes are delivered in batches. For more information, see How to: Deliver Changes in Batches (SQL Server).

See Also

Reference

RelationalSyncProvider Class
RelationalSyncProvider Members
Microsoft.Synchronization.Data Namespace