Compartilhar via


IDatabaseMetaData.InsertsAreDetected(Int32) Method

Definition

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

[Android.Runtime.Register("insertsAreDetected", "(I)Z", "GetInsertsAreDetected_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool InsertsAreDetected (int type);
[<Android.Runtime.Register("insertsAreDetected", "(I)Z", "GetInsertsAreDetected_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member InsertsAreDetected : 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 specified result set type; false otherwise

Attributes

Exceptions

a database error occurred.

Remarks

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

Added in 1.2.

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