Język

IDatabaseMetaData.MaxColumnNameLength Property

Definition

Returns the maximum size for a Column name for this database.

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

Property Value

the maximum number of characters allowed for a column name; 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 for a column name.

Java reference for java.sql.DatabaseMetaData.getMaxColumnNameLength.

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