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

例外をトリガーした特定 DbBatchCommand の値。

注釈

の実行時にこれがDbExceptionスローされなかった場合は、次が含まれますnullDbBatch

適用対象