Delen via


SqlBatch.DbTransaction Property

Definition

Gets or sets the SqlTransaction within which this SqlBatch object executes.

protected:
 virtual property System::Data::Common::DbTransaction ^ DbTransaction { System::Data::Common::DbTransaction ^ get(); void set(System::Data::Common::DbTransaction ^ value); };
protected override System.Data.Common.DbTransaction DbTransaction { get; set; }
member this.DbTransaction : System.Data.Common.DbTransaction with get, set
Protected Overrides Property DbTransaction As DbTransaction

Property Value

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

Applies to