IConnection.SetClientInfo(String, String) Method

Definition

Sets the value of the client info property specified by name to the value specified by value.

[Android.Runtime.Register("setClientInfo", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetClientInfo_Ljava_lang_String_Ljava_lang_String_Handler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetClientInfo (string? name, string? value);
[<Android.Runtime.Register("setClientInfo", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetClientInfo_Ljava_lang_String_Ljava_lang_String_Handler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetClientInfo : string * string -> unit

Parameters

name
String

The name of the client info property to set

value
String

The value to set the client info property to. If the value is null, the current value of the specified property is cleared. <p>

Attributes

Exceptions

if this connection is closed, or there's a problem setting the property.

Remarks

Java documentation for java.sql.Connection.setClientInfo(java.lang.String, java.lang.String).

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