Share via


SqlCeSyncProvider.BeginSnapshotInitialization Event

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

This event is not CLS-compliant.  

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);
}
/** @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.

Remarks

Occurs once per scope.

See Also

Reference

SqlCeSyncProvider Class
SqlCeSyncProvider Members
Microsoft.Synchronization.Data.SqlServerCe Namespace