共用方式為


DbException.DbBatchCommand 屬性

定義

在衍生類別中覆寫時,如果在執行 DbBatch時擲回這個 DbException ,則會參考觸發例外狀況的特定 DbBatchCommand

protected:
 virtual property System::Data::Common::DbBatchCommand ^ DbBatchCommand { System::Data::Common::DbBatchCommand ^ get(); };
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

適用於