Język

IDatabaseMetaData.MaxStatementLength Property

Definition

Returns the maximum number of characters in an SQL statement for this database.

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

Property Value

the maximum number of characters allowed for an SQL statement; a result of zero means that there is no limit or the limit is not known

Attributes

Exceptions

a database error occurred.

Remarks

Retrieves the maximum number of characters this database allows in an SQL statement.

Java reference for java.sql.DatabaseMetaData.getMaxStatementLength.

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