Npgsql API Documentation |

# NpgsqlConnection.Database Property

[This is preliminary documentation and subject to change.]

Gets the name of the current database or the database to be used after a connection is opened.

[Visual Basic]
NotOverridable Public ReadOnly Property Database As String Implements _
IDbConnection.Database
[C#]
public string Database {get;}

#### Property Value

The name of the current database or the name of the database to be used after a connection is opened. The default value is the empty string.

#### Implements

IDbConnection.Database

#### See Also

NpgsqlConnection Class | Npgsql Namespace