DB2ConnectionStringBuilder properties
The properties of the DB2ConnectionStringBuilder class are listed here.
Public Properties
Property | Description |
---|---|
![]() |
Specifies whether to allow an application to run dynamically any SQL statements that are not captured in a pureQueryXML file or that are captured but not bound. |
![]() |
Gets or sets the value of the authentication keyword. |
![]() |
Specifies whether to run only the SQL statements that are in the pureQueryXML file. |
![]() |
Gets or sets the value that determines
if dynamically executed statements are captured for client optimization
using pureQuery. An error is thrown if captureMode=on while executionMode=STATIC .Data server restrictions:
This property applies only to Db2® data servers. |
![]() |
Gets or sets a client accounting string that is sent to a database. |
![]() |
Gets or sets a client application name that is sent to a database. |
![]() |
Gets or sets the client correlation token name on Db2 for z/OS Version 11 server with new function mode (NFM). |
![]() |
Gets or sets a value that determines whether AES encryption is being used. |
![]() |
Gets or sets a value that indicates the schema to be used. If you set this property, the system catalog tables are not queried to generate the result sets. The static tables that you create by using the db2ocat tool are queried instead. |
![]() |
Gets or sets a client user ID that is sent to a database. |
![]() |
Gets or sets a client workstation name that is sent to a database. |
![]() |
The CodePage property gets or sets the current Encoding's code page identifier. It is a read/write property that allows users to specify how strings are encoded in their applications. |
![]() |
Specifies the Concurrent Access Resolution to be used. |
![]() |
Gets or sets the number of seconds to wait before a connection attempt times out. |
![]() |
Specifies the database partition server to which a connection is to be made. |
![]() |
Gets or sets the number of seconds that a connection can remain idle in the connection pool. |
![]() |
Gets or sets a value that determines whether a connection is placed in the connection pool when the connection is closed. |
![]() |
Gets or sets the connection string that is associated with the DbConnectionStringBuilder. |
![]() |
Gets the current number of keys that are in the ConnectionString property. |
![]() |
Gets or sets the list of schema name that can be used to resolve function references and data type references in dynamic SQL statements. |
![]() |
Issues the SET CURRENT PACKAGESET statement after every connection. |
![]() |
Gets or sets the value of the schema name that is used for all unqualified SQL objects that are used in the connection. |
![]() |
Gets or sets the value of the SQLID that is used for all unqualified SQL objects that are used in the connection to Db2 for z/OS. |
![]() |
Gets or sets the value of the database to connect to. |
![]() |
Specifies whether diagnostic logs are gathered when specified SQLCODEs are encountered in a connection to the Db2 for z/OS server. |
![]() |
Specifies the time period in seconds during which the log information for the SQLCODE is not captured. |
![]() |
Gets or sets the value of the DBName keyword. |
![]() |
Gets or sets a value that indicates whether
any string within double quotation marks (") is treated as an identifier
and any string within single quotation marks (') is treated as a string
literal. Data server restrictions:
This property applies only to Informix®. |
![]() |
Specifies whether to run alternative SQL statements that were added to a pureQueryXML file and both the original statements and the alternative statements were not bound. |
![]() |
Gets or sets the value that indicates whether automatic enlistment in the Distributed Transaction Coordinator (DTC) is enabled. |
![]() |
Gets or sets a value that indicates whether
the DB2Connection.Open() method attempts to
explicitly set the rounding mode to ROUND_HALF_EVEN. Data server restrictions:
This property applies only to Db2 data servers. |
![]() |
Gets or sets whether previously captured
statements should be executed statically for client optimization using
pureQuery. An error is thrown if captureMode=on while executionMode=STATIC .Data server restrictions:
This property applies only toDb2 data servers. |
![]() |
Specifies the default query block size to optimize the data flow. IBM Data Server Provider for .NET allows query block size only in multiples of 32K. |
![]() |
Gets or sets a value that indicates how the provider should convert high precision data so the high precision data types can be retired as .NET system types. |
![]() |
Gets or sets the value indicating whether host variable support are enabled. Host variables are parameters prefixed with a colon (:). |
![]() |
Gets or sets the interrupt processing mode. |
![]() |
Gets a value that indicates whether the DB2ConnectionStringBuilder has a fixed size. |
![]() |
Gets or sets a value of the isolation level for the connection. |
![]() |
Gets a value that indicates whether the DbConnectionStringBuilder is read only. |
![]() |
Gets an ICollection that contains the keys in the DB2ConnectionStringBuilder. |
![]() |
Specifies which libraries are to be loaded by the server for the connection. |
![]() |
Gets or sets a value that indicates whether DATE types are reported as a different data type. |
![]() |
Gets or sets a value that indicates whether TIME types are reported as a different data type. |
![]() |
Gets or sets a value that indicates whether TIMESTAMP types are reported as a different data type. |
![]() |
Specifies the maximum number of non-parameterized SQL statements to capture. This option applies only when the value of captureMode is ON. When captureMode is OFF, pureQuery ignores this parameter. |
![]() |
Gets or sets a value that represents the maximum connection pool size. |
![]() |
Gets or sets a value that represents the minimum connection pool size. |
![]() |
Gets or sets a value that represents the new password for the user. |
![]() |
Gets or sets a value that represents the user password. |
![]() |
Gets or sets a value that indicates whether security-sensitive information, such as a password, can be returned as part of a connection string after the connection is opened or if the connection was ever open. |
![]() |
Gets or sets a value that indicates whether connection pooling is turned on. |
![]() |
Gets or sets the client program ID to a user-defined Id that associates a connection to a database. |
![]() |
Gets or sets the client program name to a user-defined name at the server during program monitoring. |
![]() |
Specifies a runtime group ID in a repository that is created in a database. |
![]() |
Gets or sets the file name and path
of the capture file. Data server restrictions:
This property applies only to Db2 data servers. |
![]() |
Specifies the repository that contains the pureQueryXML file data that is used with a .NET application enabled with pureQuery client optimization. |
![]() |
Gets or sets a value of the QueryTimeout keyword. |
![]() |
Specifies the pureQuery client optimization behavior if errors occur during retrieving or writing pureQuery data. |
![]() |
Gets or sets a value of the SchemaList keyword. |
![]() |
If set to |
![]() |
Gets or sets a value that specifies the host and port number to connect to. |
![]() |
Specifies whether IBM Data Server Provider for .NET sends a connection string to the DbPermission.Add method, without passing through the DB2ConnectionStringBuilder class. |
![]() |
Specifies whether to capture and consolidate SQL statements that share syntax but differ only in the literal values by having pureQuery substitute parameter markers for the literal values. |
![]() |
Specifies the SSL stash file used for an SSL connection. |
![]() |
Specifies the SSL key database file that is used for an SSL connection. |
![]() |
Specifies the SSL key database file that is used for an SSL connection. |
![]() |
Specifies the SSL key database file that is used for an SSL connection. |
![]() |
Specifies the fully qualified name of a self-signed server certificate or a certificate authority (CA) certificate. |
![]() |
Gets or sets the value determining whether or not to override server configurations for statement concentrator literals. |
![]() |
Gets or sets a value of the SysSchema keyword. |
![]() |
Gets or sets a value of the TableType keyword. |
![]() |
Fully qualified Kerberos principal name for the target server; that is, the fully qualified
Kerberos principal of the Db2 instance owner in the
form of |
![]() |
Gets or sets the value for the specific version of the Transport Layer Security (TLS) protocol to be used for a TLS connection. |
![]() |
Gets or sets the pureQuery log file
used for client optimization. Data server restrictions:
This property applies only to Db2 data servers. |
![]() |
Specifies the level of detail to write to the log file. |
![]() |
Specifies the trusted context SYSTEM AUTHID that is used with the connection. |
![]() |
Specifies the password corresponding to the trusted context SYSYTEM AUTHID that is used with the connection. |
![]() |
Gets or sets a value that represents the user name. |
![]() |
Gets an ICollection that contains the values in the DB2ConnectionStringBuilder. |
![]() |
Sends the user registry name in the connection string while switching to a trusted connection. Should only be used when authenticating a user on a Db2 for z/OS server that is using an identity mapping service. |