![Collapse image](collapse_all.gif)
![Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image](copycode.gif)
![CopyHover image](copycodeHighlight.gif)
Gets or sets the connection.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
C# |
---|
public MySqlConnection Connection { get; set; } |
Visual Basic (Declaration) |
---|
Public Property Connection As MySqlConnection |
Visual C++ |
---|
public: property MySqlConnection^ Connection { MySqlConnection^ get (); void set (MySqlConnection^ value); } |