NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SQLConnection Properties

The properties of the SQLConnection class are listed below. For a complete list of SQLConnection class members, see the SQLConnection Members topic.

Public:

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.

See Also

SQLConnection Class | System.Data.SQL Namespace