IDatabaseMetaData.UpdatesAreDetected(Int32) Method

Definition

Retrieves whether or not a visible row update can be detected by calling the method <code>ResultSet.

[Android.Runtime.Register("updatesAreDetected", "(I)Z", "GetUpdatesAreDetected_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool UpdatesAreDetected (int type);
[<Android.Runtime.Register("updatesAreDetected", "(I)Z", "GetUpdatesAreDetected_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdatesAreDetected : int -> bool

Parameters

type
Int32

the <code>ResultSet</code> type; one of <code>ResultSet.TYPE_FORWARD_ONLY</code>, <code>ResultSet.TYPE_SCROLL_INSENSITIVE</code>, or <code>ResultSet.TYPE_SCROLL_SENSITIVE</code>

Returns

Boolean

<code>true</code> if changes are detected by the result set type; <code>false</code> otherwise

Attributes

Exceptions

a database error occurred.

Remarks

Java documentation for java.sql.DatabaseMetaData.updatesAreDetected(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