The properties of the SQLConnection class are listed below. For a complete list of SQLConnection class members, see the SQLConnection Members topic.
ConnectionString | Gets or sets the string used to open a data store in SQL Server. |
ConnectionTimeout | Gets or sets the time to wait while establishing a connection before terminating the attempt and generating an error. |
Database | Gets or sets the name of the current database or the database to be used once a connection is open. |
DataSource | Gets or sets the name of the database to connect to. |
IsolationLevel | Gets or sets the isolation level used for any transaction. Initialize only after the connection is open. |
Password | Gets or sets the password to use when connecting. |
ServerVersion | Gets a string containing the version of the connected SQL Server. |
Site (inherited from Component) | Gets or sets the site of the Component. |
State | Gets the current state of the connection. |
TransactionLevel | Gets the transaction level. |
UserID | Gets or sets the user ID to use when connecting. |
Version | Gets a string that contains the SQL adapter version. |