Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULCommand class

 

Transaction property

Specifies the ULTransaction in which the ULCommand executes.

Syntax
Visual Basic

Public Property Transaction As ULTransaction
C#

public ULTransaction Transaction  { get; set; }
Property value

The ULTransaction in which the ULCommand executes. This should be the current transaction of the connection specified by the ULCommand.Connection. The default is a null reference (Nothing in Visual Basic).

Remarks

If a command is reused after a transaction has been committed or rolled back, this property needs to be reset.

This is the strongly-typed version of System.Data.IDbCommand.Transaction and System.Data.Common.DbCommand.Transaction.

See also