RelationalSyncProvider.SyncPeerOutdated 事件

如果目标节点已过时,则在枚举变更之前发生。

此事件不符合 CLS。  

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

语法

声明
Public Event SyncPeerOutdated As EventHandler(Of DbOutdatedEventArgs)
用法
Dim instance As RelationalSyncProvider
Dim handler As EventHandler(Of DbOutdatedEventArgs)

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

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

请参阅

参考

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