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 委托来侦听此事件。

适用于

另请参阅