Propriété Error
Gets the error associated with the server message event.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public ReadOnly Property Error As SqlError
Get
'Utilisation
Dim instance As ServerMessageEventArgs
Dim value As SqlError
value = instance.Error
public SqlError Error { get; }
public:
property SqlError^ Error {
SqlError^ get ();
}
member Error : SqlError
function get Error () : SqlError
Valeur de propriété
Type : System.Data.SqlClient. . :: . .SqlError
A SqlError system object value that specifies the error associated with the server message event.
Voir aussi