SqlState property

The SQL Anywhere five-character SQLSTATE following the ANSI SQL standard.

Visual Basic syntax

Public ReadOnly Property SqlState As String

C# syntax

public string SqlState {get;}