OdbcInfoMessageEventArgs 类

定义

InfoMessage 事件提供数据。Provides data for the InfoMessage event.

public ref class OdbcInfoMessageEventArgs sealed : EventArgs
public sealed class OdbcInfoMessageEventArgs : EventArgs
type OdbcInfoMessageEventArgs = class
    inherit EventArgs
Public NotInheritable Class OdbcInfoMessageEventArgs
Inherits EventArgs
继承
OdbcInfoMessageEventArgs

注解

InfoMessage事件包含一个OdbcErrorCollection集合, 其中包含从数据源发送的警告。The InfoMessage event contains an OdbcErrorCollection collection with warnings sent from the data source.

属性

Errors

获取从数据源发送的警告的集合。Gets the collection of warnings sent from the data source.

Message

获取从数据库发送的全文本错误。Gets the full text of the error sent from the database.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

检索 InfoMessage 事件的字符串表示形式。Retrieves a string representation of the InfoMessage event.

适用于