SqlDataSourceStatusEventArgs(DbCommand, Int32, Exception) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化類別的新實例 SqlDataSourceStatusEventArgs ,使用指定的輸出參數、回傳值及受資料庫操作影響的列數。
public:
SqlDataSourceStatusEventArgs(System::Data::Common::DbCommand ^ command, int affectedRows, Exception ^ exception);
public SqlDataSourceStatusEventArgs(System.Data.Common.DbCommand command, int affectedRows, Exception exception);
new System.Web.UI.WebControls.SqlDataSourceStatusEventArgs : System.Data.Common.DbCommand * int * Exception -> System.Web.UI.WebControls.SqlDataSourceStatusEventArgs
Public Sub New (command As DbCommand, affectedRows As Integer, exception As Exception)
參數
- command
- DbCommand
the DbCommand 代表控制項提交給資料庫 SqlDataSource 的查詢、指令或儲存程序。
- affectedRows
- Int32
資料庫操作影響的列數(如適用)。