共用方式為


SqlCommand.StatementCompleted 事件

定義

發生於 Transact-SQL 陳述式執行完畢時。

public:
 event System::Data::StatementCompletedEventHandler ^ StatementCompleted;
public event System.Data.StatementCompletedEventHandler StatementCompleted;
member this.StatementCompleted : System.Data.StatementCompletedEventHandler 
Public Custom Event StatementCompleted As StatementCompletedEventHandler 

事件類型

適用於