共用方式為


OdbcConnection.InfoMessage 事件

定義

發生於 ODBC 驅動程式傳送警告或資訊訊息時。

public:
 event System::Data::Odbc::OdbcInfoMessageEventHandler ^ InfoMessage;
public event System.Data.Odbc.OdbcInfoMessageEventHandler? InfoMessage;
public event System.Data.Odbc.OdbcInfoMessageEventHandler InfoMessage;
member this.InfoMessage : System.Data.Odbc.OdbcInfoMessageEventHandler 
Public Custom Event InfoMessage As OdbcInfoMessageEventHandler 

事件類型

備註

想要處理伺服器所傳送警告或參考訊息的客戶端應該建立 OdbcInfoMessageEventHandler 委派來接聽此事件。

適用於

另請參閱