dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnectionStringBuilder Class / MySqlConnectionStringBuilder Constructor / MySqlConnectionStringBuilder Constructor(String)
Initial connection setup string.

MySqlConnectionStringBuilder Constructor(String)
Initializes a new instance of the MySqlConnectionStringBuilder class and assigns custom initial values to some properties.
Syntax
'Declaration
 
Public Function New( _
   ByVal connectionString As String _
)
 

Parameters

connectionString
Initial connection setup string.
Remarks
When a new instance of MySqlConnectionStringBuilder is created, its properties are set to the following initial values unless they are specifically set using their associated keywords in the connectionString parameter.
Properties Initial Value
System.Data.Common.DbConnectionStringBuilder.ConnectionString empty string ("")
ConnectionTimeout 15
Database empty string ("")
Host empty string ("")
Password empty string ("")
Port 3306
UserId empty string ("")
If the connectionString parameter can not be parsed, an exception is thrown and the object is not created.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also