DbException.BatchCommand 屬性

定義

如果在執行 DbBatch時擲回這個DbException值,則參考觸發例外狀況的特定 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

備註

如果執行 DbBatch時未擲回此專案DbException, 則包含 null

適用於