DbException.BatchCommand 属性

定义

如果在执行异常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

适用于