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

SaveConnectionMethod Enum

Lists the values indicating how to save the connection string.

Namespace: DevExpress.DataAccess.Wizard.Model

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

[Flags]
public enum SaveConnectionMethod

Members

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.

Related API Members

The following properties accept/return SaveConnectionMethod values:

Library Related API Members
Cross-Platform Class Library DataSourceModelWithConnectionBase.ShouldSaveConnection
IDataComponentModelWithConnection.ShouldSaveConnection
Reporting XtraReportModel.ShouldSaveConnection

See Also