Share via


IDatabaseMetaData.SupportsConvert Method

Definition

Overloads

SupportsConvert()

Retrieves whether this database supports the JDBC scalar function CONVERT for the conversion of one JDBC type to another.

SupportsConvert(Int32, Int32)

Retrieves whether this database supports the JDBC scalar function CONVERT for conversions between the JDBC types fromType and toType.

SupportsConvert()

Retrieves whether this database supports the JDBC scalar function CONVERT for the conversion of one JDBC type to another.

[Android.Runtime.Register("supportsConvert", "()Z", "GetSupportsConvertHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool SupportsConvert ();
[<Android.Runtime.Register("supportsConvert", "()Z", "GetSupportsConvertHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SupportsConvert : unit -> bool

Returns

true if so; false otherwise

Attributes

Exceptions

a database error occurred.

Remarks

Retrieves whether this database supports the JDBC scalar function CONVERT for the conversion of one JDBC type to another. The JDBC types are the generic SQL data types defined in java.sql.Types.

Java documentation for java.sql.DatabaseMetaData.supportsConvert().

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

SupportsConvert(Int32, Int32)

Retrieves whether this database supports the JDBC scalar function CONVERT for conversions between the JDBC types fromType and toType.

[Android.Runtime.Register("supportsConvert", "(II)Z", "GetSupportsConvert_IIHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool SupportsConvert (int fromType, int toType);
[<Android.Runtime.Register("supportsConvert", "(II)Z", "GetSupportsConvert_IIHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SupportsConvert : int * int -> bool

Parameters

fromType
Int32

the type to convert from; one of the type codes from the class java.sql.Types

toType
Int32

the type to convert to; one of the type codes from the class java.sql.Types

Returns

true if so; false otherwise

Attributes

Exceptions

a database error occurred.

Remarks

Retrieves whether this database supports the JDBC scalar function CONVERT for conversions between the JDBC types fromType and toType. The JDBC types are the generic SQL data types defined in java.sql.Types.

Java documentation for java.sql.DatabaseMetaData.supportsConvert(int, int).

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