DbException.BatchCommand Egenskap

Definition

Om detta DbException utlöstes när en DbBatch, refererar till den specifika DbBatchCommand som utlöste undantaget.

public:
 property System::Data::Common::DbBatchCommand ^ BatchCommand { System::Data::Common::DbBatchCommand ^ get(); };
public System.Data.Common.DbBatchCommand? BatchCommand { get; }
member this.BatchCommand : System.Data.Common.DbBatchCommand
Public ReadOnly Property BatchCommand As DbBatchCommand

Egenskapsvärde

Det specifika DbBatchCommand som utlöste undantaget.

Kommentarer

Om detta DbException inte utlöstes när en DbBatch, körs, innehåller null.

Gäller för