This document is archived and information here might be outdated.  Recommended version.


ITransactionsOptions.AutoCommitInterval Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITransactionsOptions.AutoCommitInterval Property

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(
  long interval
);
[C++]

Parameters interval [out, retval] interval is a parameter of type long interval [in] interval is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

ITransactionsOptions Interface