CreateConnection Method

MySQL Connector/Net

Returns a strongly typed DbConnection instance.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 6.2.2.0

Syntax

C#
public override DbConnection CreateConnection()
Visual Basic (Declaration)
Public Overrides Function CreateConnection As DbConnection
Visual C++
public:
virtual DbConnection^ CreateConnection() override

Return Value

A new strongly typed instance of DbConnection.

See Also