SqlInfoMessageEventArgs.Message Property


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

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

public string Message { get; }

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