AdsException.State

Advantage .NET Data Provider

  Previous topic Next topic  

Gets the SQL state code associated with the error.

public string State { get; }

Remarks

If the AdsException is generated by an SQL error returned from Advantage Database Server or Advantage Local Server, this will contain the state code. Otherwise it will be an empty string.