IDatabaseMetaData.SupportsConvert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| SupportsConvert() |
Retrieves whether this database supports the JDBC scalar function <code>CONVERT</code> for the conversion of one JDBC type to another. |
| SupportsConvert(Int32, Int32) |
Retrieves whether this database supports the JDBC scalar function <code>CONVERT</code> for conversions between the JDBC types fromType and toType. |
SupportsConvert()
Retrieves whether this database supports the JDBC scalar function <code>CONVERT</code> 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
<code>true</code> if so; <code>false</code> otherwise
- Attributes
Exceptions
a database error occurred.
Remarks
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 <code>CONVERT</code> 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 <code>java.sql.Types</code>
- toType
- Int32
the type to convert to; one of the type codes from the class <code>java.sql.Types</code>
Returns
<code>true</code> if so; <code>false</code> otherwise
- Attributes
Exceptions
a database error occurred.
Remarks
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.