DbException.BatchCommand 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果執行 時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 原因。
備註
若執行 時未拋出此值DbException,則包含 null。DbBatch