Interface ITransactionsOptions
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that control Transaction options.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("6E45153F-DF82-11D1-AA82-00C04FA37585")]
public interface ITransactionsOptions
Remarks
The ITransactionOptions is an optional interface on ArcSDE workspaces that can be used to control the autocommit interval for application-begun transactions. Setting the AutoCommitInterval to 0 turns auto-commit off, and ensures that the transaction will not commit until the application calls CommitTransaction.
Properties
AutoCommitInterval
The auto commit interval is the number of modification operations before a database commit is executed.
int AutoCommitInterval { get; set; }
Property Value
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.