RelationalSyncProvider.SyncProgress 事件
在選取變更 (每個資料表) 和套用變更 (每個資料列) 期間發生。
此類別與 CLS 不相容。
命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)
語法
'宣告
Public Event SyncProgress As EventHandler(Of DbSyncProgressEventArgs)
'用途
Dim instance As RelationalSyncProvider
Dim handler As EventHandler(Of DbSyncProgressEventArgs)
AddHandler instance.SyncProgress, handler
public event EventHandler<DbSyncProgressEventArgs> SyncProgress
public:
event EventHandler<DbSyncProgressEventArgs^>^ SyncProgress {
void add (EventHandler<DbSyncProgressEventArgs^>^ value);
void remove (EventHandler<DbSyncProgressEventArgs^>^ value);
}
/** @event */
public void add_SyncProgress (EventHandler<DbSyncProgressEventArgs> value)
/** @event */
public void remove_SyncProgress (EventHandler<DbSyncProgressEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.
請參閱
參考
RelationalSyncProvider 類別
RelationalSyncProvider 成員
Microsoft.Synchronization.Data 命名空間