Export (0) Print
Expand All

OdbcConnection Properties

The OdbcConnection type exposes the following members.

  Name Description
Public property ConnectionString Gets or sets the string used to open a data source. (Overrides DbConnection.ConnectionString.)
Public property ConnectionTimeout Gets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property Database Gets the name of the current database or the database to be used after a connection is opened. (Overrides DbConnection.Database.)
Public property DataSource Gets the server name or file name of the data source. (Overrides DbConnection.DataSource.)
Public property Driver Gets the name of the ODBC driver specified for the current connection.
Public property ServerVersion Gets a string that contains the version of the server to which the client is connected. (Overrides DbConnection.ServerVersion.)
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property State Gets the current state of the connection. (Overrides DbConnection.State.)
© 2015 Microsoft