DbException.BatchCommand Propriedade

Definição

Se isto DbException foi lançado ao executar um DbBatch, refere-se ao específico DbBatchCommand que desencadeou a exceção.

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

Valor de Propriedade

O específico DbBatchCommand que desencadeou a exceção.

Observações

Se isto DbException não foi lançado ao executar um DbBatch, contém null.

Aplica-se a