Jazyk

IDatabaseMetaData.SQLStateType Property

Definition

States the type of SQLState value returned by SQLException.getSQLState.

public int SQLStateType { [Android.Runtime.Register("getSQLStateType", "()I", "GetGetSQLStateTypeHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getSQLStateType", "()I", "GetGetSQLStateTypeHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.SQLStateType : int

Property Value

the type of SQLSTATE; one of: sqlStateXOpen or sqlStateSQL

Attributes

Exceptions

a database error occurred.

Remarks

Indicates whether the SQLSTATE returned by SQLException.getSQLState is X/Open (now known as Open Group) SQL CLI or SQL:2003.

Java reference for java.sql.DatabaseMetaData.getSQLStateType.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to