共用方式為


IDatabaseMetaData.OwnUpdatesAreVisible(Int32) Method

Definition

Retrieves whether for the given type of ResultSet object, the result set's own updates are visible.

[Android.Runtime.Register("ownUpdatesAreVisible", "(I)Z", "GetOwnUpdatesAreVisible_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OwnUpdatesAreVisible (int type);
[<Android.Runtime.Register("ownUpdatesAreVisible", "(I)Z", "GetOwnUpdatesAreVisible_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OwnUpdatesAreVisible : 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 updates are visible for the given result set type; false otherwise

Attributes

Exceptions

a database error occurred.

Remarks

Retrieves whether for the given type of ResultSet object, the result set's own updates are visible.

Added in 1.2.

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