Bagikan melalui


DbCommand.Transaction Properti

Definisi

Mendapatkan atau mengatur tempat DbTransaction objek ini DbCommand dijalankan.

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

Nilai Properti

Transaksi tempat objek perintah penyedia data .NET Framework dijalankan. Nilai default adalah referensi null (Nothing di Visual Basic).

Atribut

Berlaku untuk

Lihat juga