Share via


SqlCeClientSyncProvider.BeginTransaction Method

Called by the SyncAgent to begin a transaction. This allows the agent to commit a set of changes as an atomic unit.

Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in microsoft.synchronization.data.sqlserverce.dll)

Syntax

'Declaration
Public Overrides Sub BeginTransaction ( _
    syncSession As SyncSession _
)
public override void BeginTransaction (
    SyncSession syncSession
)
public:
virtual void BeginTransaction (
    SyncSession^ syncSession
) override
public void BeginTransaction (
    SyncSession syncSession
)
public override function BeginTransaction (
    syncSession : SyncSession
)

Parameters

  • syncSession
    A SyncSession object that contains metadata about the current synchronization session.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

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