Export (0) Print
Expand All

SqlSyncProvider.BeginSession Method

Called by the SyncOrchestrator to indicate that a synchronization session has started.

This API is not CLS-compliant. 

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

[CLSCompliantAttribute(false)]
public override void BeginSession(
	SyncProviderPosition position,
	SyncSessionContext syncSessionContext
)

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.

ExceptionCondition
DbSyncException

A session is already begun.

Show:
© 2014 Microsoft