DbException.DbBatchCommand 属性

定义

在派生类中重写时,如果在执行 DbBatch时引发,DbException则引用触发异常的特定 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

注解

如果在执行 DbBatch时未引发此值DbException,则值为 null

适用于