SqlState Property

Syntax:

public string SqlState{ get; }

Description:

Type: System.String

Returns the SQL state associated with the error encountered.

Exceptions:

None