Compartilhar via


CommitMode Enumeration

When passed to the Commit function, the CommitMode specifies when the commit occurs.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

Syntax

'Declaration
Public Enumeration CommitMode
'Usage
Dim instance As CommitMode
public enum CommitMode
public enum class CommitMode
public enum CommitMode
public enum CommitMode

Members

  Member name Description
Supported by the .NET Compact Framework Deferred Changes are committed to disk after user-specified flush interval. The default flush interval is 10 seconds but can be modified within the ConnectionString.  
Supported by the .NET Compact Framework Immediate Changes are committed immediately. 

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0

See Also

Reference

System.Data.SqlServerCe Namespace