UniDAC

TCustomDAConnection.InTransaction Property

Indicates whether the transaction is active.

Class

TCustomDAConnection

Syntax

property InTransaction: boolean;

Remarks

Examine the InTransaction property at runtime to determine whether a user transaction is currently in progress. In other words, InTransaction is set to True when the user explicitly calls StartTransaction. Calling Commit or Rollback sets InTransaction to False. The value of the InTransaction property cannot be changed directly.

Note: This property reflects the transaction state on the client application side and may not match the actual transaction state on the server.

See Also

© 1997-2026 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback