IConnection.ClientInfo Property
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.
Returns a Properties object containing all client info properties.
public Java.Util.Properties? ClientInfo { [Android.Runtime.Register("getClientInfo", "()Ljava/util/Properties;", "GetGetClientInfoHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setClientInfo", "(Ljava/util/Properties;)V", "GetSetClientInfo_Ljava_util_Properties_Handler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getClientInfo", "()Ljava/util/Properties;", "GetGetClientInfoHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setClientInfo", "(Ljava/util/Properties;)V", "GetSetClientInfo_Ljava_util_Properties_Handler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.ClientInfo : Java.Util.Properties with get, set
Property Value
A Properties object containing the name and current value of each client info property supported by the driver.
- Attributes
Exceptions
if this connection is closed, or there's a problem getting a property.
The getter is called on a closed connection, or the database server reports an error while retrieving client information.
if this connection is closed, or there's a problem setting a property.
Remarks
Returns a list containing the name and current value of each client info property supported by the driver. The value of a client info property may be null if the property has not been set and does not have a default value.
Android reference for java.sql.Connection.getClientInfo().
Java reference for java.sql.Connection.getClientInfo.
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.