ICallableStatement.SetURL(String, URL) Method

Definition

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

[Android.Runtime.Register("setURL", "(Ljava/lang/String;Ljava/net/URL;)V", "GetSetURL_Ljava_lang_String_Ljava_net_URL_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetURL (string? parameterName, Java.Net.URL? val);
[<Android.Runtime.Register("setURL", "(Ljava/lang/String;Ljava/net/URL;)V", "GetSetURL_Ljava_lang_String_Ljava_net_URL_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetURL : string * Java.Net.URL -> unit

Parameters

parameterName
String

the name of the parameter

val
URL

the parameter value

Attributes

Exceptions

if a database error occurs.

Remarks

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

Added in 1.4.

Java documentation for java.sql.CallableStatement.setURL(java.lang.String, 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

See also