12. Understanding .NET Data Provider Connectivity : .NET Data Provider Classes : IngresConnection Class : IngresConnection Class Properties
 
Share this page                  
IngresConnection Class Properties
The IngresConnection class has the following properties:
Property
Accessor
Description
ConnectionString
get set
String that specifies the target server machine and database to connect to, the credentials of the user who is connecting, and the parameters that define connection pooling and security.
Default is "".
Consists of keyword=value pairs, separated by semicolons. Leading and trailing blanks around the keyword or value are ignored. Case and embedded blanks in the keyword are ignored. Case and embedded blanks in the value are retained. Can only be set if connection is closed. Resetting the connection string resets the ConnectionTimeOut and Database properties.
For a list of valid keywords and their descriptions, see Connection String Keywords.
ConnectionTimeOut
get
The time, in seconds, for an attempted connection to abort if the connection cannot be established.
Default is 15 seconds.
Database
get
The database name specified in the ConnectionString's Database value.
Default is "".
DataSource
get
The name of the target server.
ServerVersion
get
The server version number. May include additional descriptive information about the server. This property uses an IngresDataReader. For this reason, no other IngresDataReader can be active at the time that this property is first invoked.
State
get
The current state of the connection: ConnectionState.Closed or ConnectionState.Open.