A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlinfomessageeventargs below:

SqlInfoMessageEventArgs Class (System.Data.SqlClient) | Microsoft Learn

SqlInfoMessageEventArgs Class Definition

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
Inheritance
Attributes

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 Errors

Gets the collection of warnings sent from the server.

Message

Gets the full text of the error sent from the database.

Source

Gets the name of the object that generated the error.

Methods See also

Collaborate 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 article

Was 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