dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnection Class / ChangeDatabase Method

On this page
    ChangeDatabase Method (MySqlConnection)
    On this page
    Changes the current database associated with an open connection.
    Syntax
    'Declaration
     
    Public Overrides Sub ChangeDatabase( _
       ByVal value As String _
    ) 
    public override void ChangeDatabase( 
       string value
    )

    Parameters

    value
    Remarks
    This method does not close physical connection to the server, it only changes the current database associated with an open connection. See Database property for more information about databases associated with connections.
    See Also