System.Data.OleDb.OleDbConnection.Database Property

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

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public override string Database { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The OleDbConnection.Database property updates dynamically. If you change the current database using a SQL statement or the OleDbConnection.ChangeDatabase(string) method, an informational message is sent and the property is updated automatically.

Requirements

Namespace: System.Data.OleDb
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0