DbException.BatchCommand 属性

定义

如果在执行 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.DbBatchCommand
Public ReadOnly Property BatchCommand As DbBatchCommand

属性值

触发异常的特定 DbBatchCommand

注解

如果在执行 DbBatch时未引发,DbException则包含 null

适用于