Connector/Net API Reference
1947
Syntax: Visual Basic
NotInheritable Public Class MySqlConnection_
Inherits Component_
Implements IDbConnection, ICloneable
Syntax: C#
public sealed class MySqlConnection : Component, IDbConnection, ICloneable
Thread Safety
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations.
Instance members are not guaranteed to be thread-safe.
Requirements
Namespace:
MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll)
See Also
MySqlConnection Members
,
MySql.Data.MySqlClient Namespace
20.2.7.1.4.1.1.3.1.1.
MySqlConnection
Members
MySqlConnection overview
Public Instance Constructors
MySqlConnection
Overloaded. Initializes a new instance of the
MySqlConnection class.
Public Instance Properties
ConnectionString
ConnectionTimeout
Container (inherited from Component)
Gets the IContainer that contains the Component.
Database
DataSource
Gets the name of the MySQL server to which to
connect.
ServerThread
Returns the ID of the server thread this connection
is executing on.
ServerVersion
Site (inherited from Component)
Gets or sets the ISite of the Component.
State
UseCompression
Indicates if this connection should use
compression when communicating with the server.
Public Instance Methods
BeginTransaction
Overloaded.
ChangeDatabase
Close
CreateCommand
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...