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
<SuppressMessageAttribute("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", Target:="Microsoft.Synchronization.Data.SyncTracer.Verbose(string)")> _
Public Overrides Sub BeginTransaction ( _
syncSession As SyncSession _
)
'Usage
Dim instance As SqlCeClientSyncProvider
Dim syncSession As SyncSession
instance.BeginTransaction(syncSession)
[SuppressMessageAttribute("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", Target="Microsoft.Synchronization.Data.SyncTracer.Verbose(string)")]
public override void BeginTransaction (
SyncSession syncSession
)
[SuppressMessageAttribute(L"Microsoft.Globalization", L"CA1303:DoNotPassLiteralsAsLocalizedParameters", Target=L"Microsoft.Synchronization.Data.SyncTracer.Verbose(string)")]
public:
virtual void BeginTransaction (
SyncSession^ syncSession
) override
/** @attribute SuppressMessageAttribute("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", Target="Microsoft.Synchronization.Data.SyncTracer.Verbose(string)") */
public void BeginTransaction (
SyncSession syncSession
)
SuppressMessageAttribute("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", Target="Microsoft.Synchronization.Data.SyncTracer.Verbose(string)")
public override function BeginTransaction (
syncSession : SyncSession
)
Parameters
- syncSession
A SyncSession object that contains metadata about the current synchronization session.
See Also
Reference
SqlCeClientSyncProvider Class
SqlCeClientSyncProvider Members
Microsoft.Synchronization.Data.SqlServerCe Namespace