Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OdbcConnection Properties

(see also Protected Properties )
  Name Description
Public property ConnectionString Overridden. Gets or sets the string used to open a data source.
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 Overridden. Gets the name of the current database or the database to be used after a connection is opened.
Public property DataSource Overridden. Gets the server name or file name of the data source.
Public property Driver Gets the name of the ODBC driver specified for the current connection.
Public property ServerVersion Overridden. Gets a string that contains the version of the server to which the client is connected.
Public property Site  Gets or sets the ISite of the Component. (inherited from Component)
Public property State Overridden. Gets the current state of the connection.

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event. (inherited from Component)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode. (inherited from Component)
Protected property Events  Gets the list of event handlers that are attached to this Component. (inherited from Component)

Community Additions

© 2015 Microsoft