NpgsqlConnection.ChangeDatabase Method
This method changes the current database by disconnecting from the actual database and connecting to the specified.
[Visual Basic]
Overrides Public Sub ChangeDatabase( _
ByVal
dbName As
String _
) _
[C#]
public override
void ChangeDatabase(
string dbName);
Parameters
-
dbName
- The name of the database to use in place of the current database.
Implements
IDbConnection.ChangeDatabase
See Also
NpgsqlConnection Class | Npgsql Namespace