SqlInfoMessageEventArgs.Message Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

Public ReadOnly Property Message As String

Property Value

Type: System.String

The full text of the error.

This is a wrapper for the Message property of the first SqlError in the Errors collection.

.NET Framework
Available since 1.1
Return to top