MySqlConnectionParameters(String, String, String, String, Int32) Constructor

Initializes a new instance of the MySqlConnectionParameters class with the specified settings.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public MySqlConnectionParameters(
    string serverName,
    string databaseName,
    string userName,
    string password,
    int port
)
Public Sub New(
    serverName As String,
    databaseName As String,
    userName As String,
    password As String,
    port As Integer
)

Parameters

Name Type Description
serverName String

A String value, specifying the server name.

databaseName String

A String value, specifying the database name.

userName String

A String value, specifying the user name.

password String

A String value, specifying the password.

port Int32

An integer value, specifying the port number.

See Also