DbCommand.Transaction DbCommand.Transaction DbCommand.Transaction DbCommand.Transaction Property

Definition

Gets or sets the DbTransaction within which this DbCommand object executes.

public:
 property System::Data::Common::DbTransaction ^ Transaction { System::Data::Common::DbTransaction ^ get(); void set(System::Data::Common::DbTransaction ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Data.Common.DbTransaction Transaction { get; set; }
member this.Transaction : System.Data.Common.DbTransaction with get, set
Public Property Transaction As DbTransaction

Property Value

The transaction within which a Command object of a .NET Framework data provider executes. The default value is a null reference (Nothing in Visual Basic).

Applies to

See also