Database Property

MySQL Connector/Net

Gets or sets the name of the database the connection should initially connect to.

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

Syntax

C#
public string Database { get; set; }
Visual Basic (Declaration)
Public Property Database As String
Visual C++
public:
property String^ Database {
	String^ get ();
	void set (String^ value);
}

See Also