IsInTransaction
This property specifies if the current application is in a transaction.
Declaration
// C# public bool IsInTransaction {get;}
Property Value
Boolean
Remarks
This property will be true if the connection is in a local implicit or explicit transaction, sessionless transaction, or a distributed transaction.