Skip to main content
A newer version of this page is available. .

SqlServerConnectionParametersBase.DatabaseName Property

Gets or sets the name of the database that contains the required data.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v21.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.Design

Declaration

public string DatabaseName { get; set; }

Property Value

Type Description
String

A String that specifies the name of the database that contains the required data.

Remarks

To specify the server name, use the SqlServerConnectionParametersBase.ServerName property.

Use the SqlServerConnectionParametersBase.UserName and SqlServerConnectionParametersBase.Password properties to provide user credentials.

See Also