共用方式為


BeginSnapshotInitialization 事件

在呼叫 InitializeSnapshot 時發生。

命名空間:  Microsoft.Synchronization.Data.SqlServerCe
組件:  Microsoft.Synchronization.Data.SqlServerCe (在 Microsoft.Synchronization.Data.SqlServerCe.dll 中)

語法

'宣告
Public Event BeginSnapshotInitialization As EventHandler(Of DbBeginSnapshotInitializationEventArgs)
'用途
Dim instance As SqlCeSyncStoreSnapshotInitialization
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);
}
member BeginSnapshotInitialization : IEvent<EventHandler<DbBeginSnapshotInitializationEventArgs>,
    DbBeginSnapshotInitializationEventArgs>

備註

每個範圍發生一次。

請參閱

參考

SqlCeSyncStoreSnapshotInitialization類別

SqlCeSyncStoreSnapshotInitialization 成員

Microsoft.Synchronization.Data.SqlServerCe 命名空間