Caution
Use the Microsoft.Data.SqlClient package instead.
public ref class SqlInfoMessageEventArgs sealed : EventArgs
[System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")]
public sealed class SqlInfoMessageEventArgs : EventArgs
public sealed class SqlInfoMessageEventArgs : EventArgs
[<System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")>]
type SqlInfoMessageEventArgs = class
inherit EventArgs
type SqlInfoMessageEventArgs = class
inherit EventArgs
Public NotInheritable Class SqlInfoMessageEventArgs
Inherits EventArgs
The InfoMessage event contains a SqlErrorCollection collection which contains the warnings sent from the server.
An InfoMessage event is generated when a SQL Server message with a severity level of 10 or less occurs.
Properties ErrorsGets the collection of warnings sent from the server.
MessageGets the full text of the error sent from the database.
SourceGets the name of the object that generated the error.
Methods See alsoCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4