This document is archived and information here might be outdated. Recommended version. |
The auto commit interval is the number of modification operations before a database commit is executed.
[Visual Basic .NET]
Public Property AutoCommitInterval As Integer
[C#]
public int AutoCommitInterval {get; set;}
[C++]
HRESULT get_AutoCommitInterval(
long interval
);
[C++]
HRESULT put_AutoCommitInterval(
System.Int32* interval
);
[C++] Parameters interval [in]
interval is a parameter of type long interval [out, retval]
interval is a parameter of type long*
Setting the AutoCommitInterval to 0 turns auto-commit off, and ensures that the transaction will not commit until the application calls CommitTransaction. The AutoCommitInterval is explicitly set to 0 when an edit session is started. The original value will be reset when the edit session is stopped.
By default the AutoCommitInterval is set to 1000 and it should be noted that user defined transactions will be commited after this threshold is breached.