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

In This Topic
ChangeDatabase Method (MySqlConnection)
In This Topic
Changes the current database associated with an open connection.
Syntax
'Declaration
 
Public Overrides Sub ChangeDatabase( _
   ByVal value As String _
) 
 

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