Database property

Description

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

Syntax

string Database

Access

Read-only

Implements

IDbConnection.Database

Usage

if (conn.Database != "pubs2") conn.ChangeDatabase("pubs2");