DataSource Property

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Gets the name of the MySQL server to which to connect.

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

Syntax

C#
public override string DataSource { get; }
Visual Basic
Public Overrides ReadOnly Property DataSource As String
	Get
Visual C++
public:
virtual property String^ DataSource {
	String^ get () override;
}

See Also