IDbCommand.Transaction Property


Gets or sets the transaction within which the Command object of a .NET data provider executes.

 property System::Data::IDbTransaction ^ Transaction { System::Data::IDbTransaction ^ get(); void set(System::Data::IDbTransaction ^ value); };
public System.Data.IDbTransaction? Transaction { get; set; }
public System.Data.IDbTransaction Transaction { get; set; }
member this.Transaction : System.Data.IDbTransaction with get, set
Public Property Transaction As IDbTransaction

Property Value


the Command object of a .NET Framework data provider executes. The default value is null.

Applies to