Gets the name of the current database or the database to be used after a connection is opened.
Assembly: System.Data (in System.Data.dll)
Property ValueType: System::String^
The name of the current database or the name of the database to be used after a connection is opened. The default value is an empty string.
The ChangeDatabase method, an informational message is sent and the property is updated automatically.property updates dynamically. If you change the current database using a SQL statement or the
Available since 1.1