Gets the name of the current database or the database to be used after a connection is opened.
[Visual Basic]
Public Overrides ReadOnly Property DataSource As String
[C#]
public override string DataSource { get; }
[C++]
public:
virtual property String^ DataSource {
String^ get () override;
}
[JScript]
public override function get DataSource () : String
The name of the current database. The default value is an empty string ("") until the connection is opened.