IfxConnection public properties

The following table shows the public properties of the IfxConnection class.

Table 1. IfxConnection public properties
Property Type Description
ClientLocale System.String Gets or sets the locale used by the application.
ConnectionString System.String Gets or sets the string used to open a database. See ConnectionString property for more information.
ConnectionTimeout System.Int32 Gets the time (in seconds) to wait while trying to establish a connection before terminating the attempt and generating an error.
Database System.String Gets the name of the current database or the database to be used after a connection is open.
DatabaseLocale System.String Gets the locale of the database. (Not valid if the connection is not open.)
FetchBufferSize System.Int32 Gets or sets the default data transport buffer size used by commands created using this connection. Setting this property does not affect commands already created.
GetActiveConnectionsCount System.Int32 Gets the number of opened, in-use connections.
GetIdleConnectionsCount System.Int32 Gets the number of opened, unused connections.
PacketSize System.Int32 Same as FetchBufferSize. The two settings are semantically equivalent; changes in one are reflected in the other.
ServerVersion System.String Gets a string containing the version of the instance of the HCL OneDB™ server to which the client is connected.
State System.Data.Connection.State Gets the current state of the connection.
UserDefinedTypeFormat System.String Sets the mapping of user-defined types to either DbType.String or DbType.Binary. See UserDefinedTypeFormat property for more information.