SqlCeClientSyncProvider.EndTransaction Method

Called by the SyncAgent to end 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 EndTransaction ( _
    commit As Boolean, _
    syncSession As SyncSession _
)
public override void EndTransaction (
    bool commit,
    SyncSession syncSession
)
public:
virtual void EndTransaction (
    bool commit, 
    SyncSession^ syncSession
) override
public void EndTransaction (
    boolean commit, 
    SyncSession syncSession
)
public override function EndTransaction (
    commit : boolean, 
    syncSession : SyncSession
)

Parameters

  • commit
    true to commit the transaction; false to roll back the transaction.
  • 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