XtraReportModel.ShouldSaveConnection Property

Specifies how and where to store the connection string of a SqlDataSource.

Namespace: DevExpress.XtraReports.Wizards

Assembly: DevExpress.XtraReports.v20.2.dll

Declaration

public SaveConnectionMethod ShouldSaveConnection { get; set; }
Public Property ShouldSaveConnection As SaveConnectionMethod

Property Value

Type Description
SaveConnectionMethod

A SaveConnectionMethod enumeration value.

Available values:

Name Description
Hardcode

The connection string is hard-coded into the application.

KeepCredentials

The connection string is hard-coded into the application along with the user credentials.

SaveToAppConfig

The connection string is stored in the application's configuration file.

SaveToAppConfigWithCredentials

The connection string is stored in the application's configuration file along with the user credentials.

See Also