Gets the name of the current database after a connection is opened, or the database name specified in the connection string before the connection is opened.
Assembly: System.Data (in System.Data.dll)
A connection typically updates this property dynamically when the current database changes.
Available since 10
Available since 2.0