DbException.BatchCommand Propriété

Définition

Si cela DbException a été déclenché lors de l’exécution d’un DbBatch, fait référence au spécifique DbBatchCommand qui a déclenché l’exception.

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

Valeur de propriété

Spécifique DbBatchCommand qui a déclenché l’exception.

Remarques

Si cela DbException n’a pas été levée lors de l’exécution d’un DbBatch, contient null.

S’applique à