다음을 통해 공유


IRowSet.SetURL(Int32, URL) Method

Definition

Sets the designated parameter to the given java.net.URL value.

[Android.Runtime.Register("setURL", "(ILjava/net/URL;)V", "GetSetURL_ILjava_net_URL_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetURL (int parameterIndex, Java.Net.URL? x);
[<Android.Runtime.Register("setURL", "(ILjava/net/URL;)V", "GetSetURL_ILjava_net_URL_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetURL : int * Java.Net.URL -> unit

Parameters

parameterIndex
Int32

the first parameter is 1, the second is 2, ...

x
URL

the java.net.URL object to be set

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the designated parameter to the given java.net.URL value. The driver converts this to an SQL DATALINK value when it sends it to the database.

Added in 1.4.

Java documentation for javax.sql.RowSet.setURL(int, java.net.URL).

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