共用方式為


RelationalSyncProvider.ChangesSelected 事件

在下載期間,列舉變更之後但在中斷資料庫連接之前發生。

此類別與 CLS 不相容。  

命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)

語法

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

AddHandler instance.ChangesSelected, handler
public event EventHandler<DbChangesSelectedEventArgs> ChangesSelected
public:
event EventHandler<DbChangesSelectedEventArgs^>^ ChangesSelected {
    void add (EventHandler<DbChangesSelectedEventArgs^>^ value);
    void remove (EventHandler<DbChangesSelectedEventArgs^>^ value);
}
/** @event */
public void add_ChangesSelected (EventHandler<DbChangesSelectedEventArgs> value)

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

請參閱

參考

RelationalSyncProvider 類別
RelationalSyncProvider 成員
Microsoft.Synchronization.Data 命名空間