Share via


RelationalSyncProvider.BatchApplied 事件

在每个变更批已应用于目标后发生。

此事件不符合 CLS。  

命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)

语法

声明
Public Event BatchApplied As EventHandler(Of DbBatchAppliedEventArgs)
用法
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.

备注

默认情况下,Sync Framework 在单个 DataSet 对象中将变更传送给每个节点。仅当分批提交变更时,才激发 BatchApplied 事件。有关更多信息,请参见如何分批传递变更 (SQL Server)

请参阅

参考

RelationalSyncProvider 类
RelationalSyncProvider 成员
Microsoft.Synchronization.Data 命名空间