Navigation:  Advantage .NET Data Provider > AdsException Class > AdsException Properties >

AdsException.State

Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

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.