Database Property

Syntax:

public string Database { get; set; }

Description:

Type: System.String

Gets or sets the current database information in the connection string. The database information specifies which database(s) will be opened when the connection is opened. The default is none.

Exceptions:

None