DbException.DbBatchCommand 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在衍生類別中覆寫時,如果在執行 DbBatch時擲回這個 DbException ,則會參考觸發例外狀況的特定 DbBatchCommand 。
protected:
virtual property System::Data::Common::DbBatchCommand ^ DbBatchCommand { System::Data::Common::DbBatchCommand ^ get(); };
C#
protected virtual System.Data.Common.DbBatchCommand? DbBatchCommand { get; }
member this.DbBatchCommand : System.Data.Common.DbBatchCommand
Protected Overridable ReadOnly Property DbBatchCommand As DbBatchCommand
觸發例外狀況的特定 DbBatchCommand 。
如果在執行 DbBatch時未擲回這個DbException值, 則值為 null
。
產品 | 版本 |
---|---|
.NET | 6, 7, 8, 9, 10 |