An NDoc Documented Class Library |

# NpgsqlConnection.ChangeDatabase Method

This method changes the current database by disconnecting from the actual database and connecting to the specified.

[Visual Basic]
NotOverridable Public Sub ChangeDatabase( _
ByVal dbName As String _
) _
Implements IDbConnection.ChangeDatabase
[C#]
public void ChangeDatabase(
string dbName
);

#### Parameters

dbName
  The name of the database to use in place of the current database.

#### Implements

IDbConnection.ChangeDatabase

#### Remarks

Missing <remarks> documentation for M:Npgsql.NpgsqlConnection.ChangeDatabase(System.String)

#### See Also

NpgsqlConnection Class | Npgsql Namespace