Clone Method

MySQL Connector/Net

Creates a new MySqlConnection object with the exact same ConnectionString value

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

Syntax

C#
public MySqlConnection Clone()
Visual Basic (Declaration)
Public Function Clone As MySqlConnection
Visual C++
public:
MySqlConnection^ Clone()

Return Value

A cloned MySqlConnection object

See Also