MySqlConnection Properties

MySQL Connector/Net

The MySqlConnection type exposes the following members.

Properties

  NameDescription
CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
ConnectionString
Gets or sets the string used to connect to a MySQL Server database.
(Overrides DbConnection..::.ConnectionString.)
ConnectionTimeout
Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
(Overrides DbConnection..::.ConnectionTimeout.)
Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Database
Gets the name of the current database or the database to be used after a connection is opened.
(Overrides DbConnection..::.Database.)
DataSource
Gets the name of the MySQL server to which to connect.
(Overrides DbConnection..::.DataSource.)
DbProviderFactory
Gets the DbProviderFactory for this DbConnection.
(Inherited from DbConnection.)
DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
ServerThread
Returns the id of the server thread this connection is executing on
ServerVersion
Gets a string containing the version of the MySQL server to which the client is connected.
(Overrides DbConnection..::.ServerVersion.)
Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
State
Gets the current state of the connection.
(Overrides DbConnection..::.State.)
UseCompression
Indicates if this connection should use compression when communicating with the server.

See Also