Udostępnij za pośrednictwem


IRowSet.SetConcurrency(Int32) Method

Definition

Sets the concurrency of this RowSet object to the given concurrency level.

[Android.Runtime.Register("setConcurrency", "(I)V", "GetSetConcurrency_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetConcurrency (int concurrency);
[<Android.Runtime.Register("setConcurrency", "(I)V", "GetSetConcurrency_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetConcurrency : int -> unit

Parameters

concurrency
Int32

one of the ResultSet constants specifying a concurrency level: ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the concurrency of this RowSet object to the given concurrency level. This method is used to change the concurrency level of a rowset, which is by default ResultSet.CONCUR_READ_ONLY

Java documentation for javax.sql.RowSet.setConcurrency(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

See also