Sdílet prostřednictvím


RelationalSyncProvider.BatchApplied Event

Occurs after each batch of changes has been applied to the destination.

This event is not CLS-compliant.  

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

Syntax

'Declaration
Public Event BatchApplied As EventHandler(Of DbBatchAppliedEventArgs)
'Usage
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.

Remarks

By default, Sync Framework delivers changes to each node in a single DataSet object. The BatchApplied 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