ITransactionsOptions Interface

Provides access to members that control Transaction options.

Members

Name Description
Read/write property AutoCommitInterval The auto commit interval is the number of modification operations before a database commit is executed.

ITransactionsOptions.AutoCommitInterval Property

The auto commit interval is the number of modification operations before a database commit is executed.

Public Property AutoCommitInterval As Integer
public int AutoCommitInterval {get; set;}

Remarks

Setting the AutoCommitIntervalto 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.

Classes that implement ITransactionsOptions

Classes Description
Workspace Workspace Object.

Remarks

The ITransactionOptionsis an optional interface on ArcSDE workspaces that can be used to control the autocommit interval for application-begun transactions. Setting the AutoCommitIntervalto 0 turns auto-commit off, and ensures that the transaction will not commit until the application calls CommitTransaction.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.