共用方式為


ChangesApplied 事件

在上傳期間,套用變更之後但在中斷資料庫連接之前發生。

命名空間:  Microsoft.Synchronization.Data
組件:  Microsoft.Synchronization.Data (在 Microsoft.Synchronization.Data.dll 中)

語法

'宣告
Public Event ChangesApplied As EventHandler(Of DbChangesAppliedEventArgs)
'用途
Dim instance As RelationalSyncProvider
Dim handler As EventHandler(Of DbChangesAppliedEventArgs)

AddHandler instance.ChangesApplied, handler
public event EventHandler<DbChangesAppliedEventArgs> ChangesApplied
public:
 event EventHandler<DbChangesAppliedEventArgs^>^ ChangesApplied {
    void add (EventHandler<DbChangesAppliedEventArgs^>^ value);
    void remove (EventHandler<DbChangesAppliedEventArgs^>^ value);
}
member ChangesApplied : IEvent<EventHandler<DbChangesAppliedEventArgs>,
    DbChangesAppliedEventArgs>

請參閱

參考

RelationalSyncProvider類別

RelationalSyncProvider 成員

Microsoft.Synchronization.Data 命名空間