DbException.BatchCommand 属性   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果在执行 DbBatch时引发,DbException则引用触发异常的特定 DbBatchCommand 。
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.DbBatchCommandPublic ReadOnly Property BatchCommand As DbBatchCommand属性值
触发异常的特定 DbBatchCommand 。
注解
如果在执行 DbBatch时未引发,DbException则包含 null。