RelationalSyncProvider.BeginSession Method
Called by the SyncOrchestrator to indicate that a synchronization session has started.
This method is not CLS-compliant.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public Overrides Sub BeginSession ( _
position As SyncProviderPosition, _
syncSessionContext As SyncSessionContext _
)
'Usage
Dim instance As RelationalSyncProvider
Dim position As SyncProviderPosition
Dim syncSessionContext As SyncSessionContext
instance.BeginSession(position, syncSessionContext)
public override void BeginSession (
SyncProviderPosition position,
SyncSessionContext syncSessionContext
)
public:
virtual void BeginSession (
SyncProviderPosition position,
SyncSessionContext^ syncSessionContext
) override
public void BeginSession (
SyncProviderPosition position,
SyncSessionContext syncSessionContext
)
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
RelationalSyncProvider Class
RelationalSyncProvider Members
Microsoft.Synchronization.Data Namespace