dotConnect for Snowflake Documentation
Devart.Data.Snowflake Namespace / SnowflakeException Class / SqlState Property

On this page
    SqlState Property
    On this page
    Gets the SQLSTATE code returned by Snowflake with a statement error, for example, 42000 for a syntax error. Returns a null reference (Nothing in Visual Basic) for errors that came without a SQLSTATE code, for example, login errors or errors that did not come from Snowflake.
    Syntax
    'Declaration
     
    Public ReadOnly Property SqlState As String
    public string SqlState {get;}
    See Also