DbCommand.Transaction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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); };
public System.Data.Common.DbTransaction Transaction { get; set; }
[System.ComponentModel.Browsable(false)]
public System.Data.Common.DbTransaction? Transaction { get; set; }
[System.ComponentModel.Browsable(false)]
public System.Data.Common.DbTransaction Transaction { get; set; }
member this.Transaction : System.Data.Common.DbTransaction with get, set
[<System.ComponentModel.Browsable(false)>]
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).
- Attributes
Applies to
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.