IDatabaseMetaData.InsertsAreDetected(Int32) Method

Definition

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

[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 <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 specified result set type; <code>false</code> otherwise

Attributes

Exceptions

a database error occurred.

Remarks

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