SqlCeSyncProvider.BeginSnapshotInitialization 事件

在 Sync Framework 确定某一数据库是同步开始前需初始化的快照时发生。

此事件不符合 CLS。  

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

语法

声明
Public Event BeginSnapshotInitialization As EventHandler(Of DbBeginSnapshotInitializationEventArgs)
用法
Dim instance As SqlCeSyncProvider
Dim handler As EventHandler(Of DbBeginSnapshotInitializationEventArgs)

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

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

备注

每个作用域发生一次。

请参阅

参考

SqlCeSyncProvider 类
SqlCeSyncProvider 成员
Microsoft.Synchronization.Data.SqlServerCe 命名空间