Bewerken

Share via


DbCommand.IDbCommand.Transaction Property

Definition

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

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

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).

Implements

Remarks

For more information, see Transaction.

Applies to

See also