DbException.DbBatchCommand 属性

定义

在派生类中重写时,如果在执行某个DbException类时引发,DbBatch则引用触发异常的特定DbBatchCommand值。

protected:
 virtual property System::Data::Common::DbBatchCommand ^ DbBatchCommand { System::Data::Common::DbBatchCommand ^ get(); };
protected virtual System.Data.Common.DbBatchCommand? DbBatchCommand { get; }
member this.DbBatchCommand : System.Data.Common.DbBatchCommand
Protected Overridable ReadOnly Property DbBatchCommand As DbBatchCommand

属性值

触发异常的特定 DbBatchCommand 项。

注解

如果在执行 a 时未引发此值,则该值为 < a0/>。

适用于