Udostępnij za pośrednictwem


IDatabaseMetaData.DeletesAreDetected(Int32) Method

Definition

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

[Android.Runtime.Register("deletesAreDetected", "(I)Z", "GetDeletesAreDetected_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool DeletesAreDetected (int type);
[<Android.Runtime.Register("deletesAreDetected", "(I)Z", "GetDeletesAreDetected_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member DeletesAreDetected : 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 deletes are detected by the given result set type; false otherwise

Attributes

Exceptions

if there is a database error.

Remarks

Retrieves whether or not a visible row delete can be detected by calling the method ResultSet.rowDeleted. If the method deletesAreDetected returns false, it means that deleted rows are removed from the result set.

Added in 1.2.

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