Share via


SqlCeSyncProvider.BeginSnapshotInitialization Event

Occurs when Sync Framework determines that a database is a snapshot that needs to be initialized before synchronization starts.

Namespace:  Microsoft.Synchronization.Data.SqlServerCe
Assembly:  Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Event BeginSnapshotInitialization As EventHandler(Of DbBeginSnapshotInitializationEventArgs)
'Usage
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);
}
member BeginSnapshotInitialization : IEvent<EventHandler<DbBeginSnapshotInitializationEventArgs>,
    DbBeginSnapshotInitializationEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

Occurs once per scope.

See Also

Reference

SqlCeSyncProvider Class

Microsoft.Synchronization.Data.SqlServerCe Namespace