다음을 통해 공유


IDatabaseMetaData.UpdatesAreDetected(Int32) Method

Definition

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

[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 ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE

Returns

true if changes are detected by the result set type; false otherwise

Attributes

Exceptions

a database error occurred.

Remarks

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

Added in 1.2.

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