RelationalSyncProvider::BeginSession Method
Called by the SyncOrchestrator to indicate that a synchronization session has started.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
public: virtual void BeginSession( SyncProviderPosition position, SyncSessionContext^ syncSessionContext ) override
Parameters
- position
- Type: Microsoft.Synchronization::SyncProviderPosition
A SyncProviderPosition enumeration value that represents whether a provider is associated with the local or remote database.
- syncSessionContext
- Type: Microsoft.Synchronization::SyncSessionContext
A SyncSessionContext object that contains information about the current synchronization session.
| Exception | Condition |
|---|---|
| DbSyncException | A synchronization is already in progress. |
Show: