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