Share via


SqlSyncProvider.BeginSession Method

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

This method is not CLS-compliant.  

Namespace: Microsoft.Synchronization.Data.SqlServer
Assembly: Microsoft.Synchronization.Data.SqlServer (in microsoft.synchronization.data.sqlserver.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Overrides Sub BeginSession ( _
    position As SyncProviderPosition, _
    syncSessionContext As SyncSessionContext _
)
'Usage
Dim instance As SqlSyncProvider
Dim position As SyncProviderPosition
Dim syncSessionContext As SyncSessionContext

instance.BeginSession(position, syncSessionContext)
[CLSCompliantAttribute(false)] 
public override void BeginSession (
    SyncProviderPosition position,
    SyncSessionContext syncSessionContext
)
[CLSCompliantAttribute(false)] 
public:
virtual void BeginSession (
    SyncProviderPosition position, 
    SyncSessionContext^ syncSessionContext
) override
/** @attribute CLSCompliantAttribute(false) */ 
public void BeginSession (
    SyncProviderPosition position, 
    SyncSessionContext syncSessionContext
)
CLSCompliantAttribute(false) 
public override function BeginSession (
    position : SyncProviderPosition, 
    syncSessionContext : SyncSessionContext
)

Parameters

  • position
    A SyncProviderPosition enumeration value that represents whether a provider is associated with the local or remote database.
  • syncSessionContext
    A SyncSessionContext object that contains information about the current synchronization session.

See Also

Reference

SqlSyncProvider Class
SqlSyncProvider Members
Microsoft.Synchronization.Data.SqlServer Namespace