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 命名空间