IRowSet.Execute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fills this RowSet
object with data.
[Android.Runtime.Register("execute", "()V", "GetExecuteHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Execute ();
[<Android.Runtime.Register("execute", "()V", "GetExecuteHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Execute : unit -> unit
- Attributes
Exceptions
if a problem occurs accessing the database or if the properties needed to access the database have not been set.
Remarks
Fills this RowSet
object with data.
The execute
method may use the following properties to create a connection for reading data: url, data source name, user name, password, transaction isolation, and type map.
The execute
method may use the following properties to create a statement to execute a command: command, read only, maximum field size, maximum rows, escape processing, and query timeout.
If the required properties have not been set, an exception is thrown. If this method is successful, the current contents of the rowset are discarded and the rowset's metadata is also (re)set. If there are outstanding updates, they are ignored.
If this RowSet
object does not maintain a continuous connection with its source of data, it may use a reader (a RowSetReader
object) to fill itself with data. In this case, a reader will have been registered with this RowSet
object, and the method execute
will call on the reader's readData
method as part of its implementation.
Java documentation for javax.sql.RowSet.execute()
.
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.