Clone Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Creates a new MySqlConnection object with the exact same ConnectionString value

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

Syntax

C#
public Object Clone()
Visual Basic
Public Function Clone As Object
Visual C++
public:
virtual Object^ Clone() sealed

Return Value

A cloned MySqlConnection object

Implements

ICloneable..::..Clone()()()()

See Also