This documentation is archived and is not being maintained.

OdbcConnection Properties

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

Public Properties

public propertyConnectionString Gets or sets the string used to open a data source.
public propertyConnectionTimeout Gets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDatabase Gets the name of the current database or the database to be used after a connection is opened.
public propertyDataSource Gets the server name or file name of the data source.
public propertyDriver Gets the name of the ODBC driver specified for the current connection.
public propertyServerVersion Gets a string containing the version of the server to which the client is connected.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyState Gets the current state of the connection.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

See Also

OdbcConnection Class | System.Data.Odbc Namespace

Show: