Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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 _
)
'Usage
Dim instance As SqlCeClientSyncProvider
Dim commit As Boolean
Dim syncSession As SyncSession
instance.EndTransaction(commit, syncSession)
public override void EndTransaction(
bool commit,
SyncSession syncSession
)
public:
virtual void EndTransaction(
bool commit,
SyncSession^ syncSession
) override
abstract EndTransaction :
commit:bool *
syncSession:SyncSession -> unit
override EndTransaction :
commit:bool *
syncSession:SyncSession -> unit
public override function EndTransaction(
commit : boolean,
syncSession : SyncSession
)
Parameters
- commit
Type: System.Boolean
true to commit the transaction; false to roll back the transaction.
- syncSession
Type: Microsoft.Synchronization.Data.SyncSession
A SyncSession object that contains metadata about the current synchronization session.