corelibraries-devexpress-dot-dataaccess-dot-wizard-dot-model-5e4e5dd2.md
Lists the values indicating how to save the connection string.
Namespace : DevExpress.DataAccess.Wizard.Model
Assembly : DevExpress.DataAccess.v25.2.dll
NuGet Package : DevExpress.DataAccess
[Flags]
public enum SaveConnectionMethod
<Flags>
Public Enum SaveConnectionMethod
| 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.
|
The following properties accept/return SaveConnectionMethod values:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | DataSourceModelWithConnectionBase.ShouldSaveConnection |
| IDataComponentModelWithConnection.ShouldSaveConnection | |
| .NET Reporting Tools | XtraReportModel.ShouldSaveConnection |
See Also
DataSourceModelWithConnectionBase.ShouldSaveConnection
IDataComponentModelWithConnection.ShouldSaveConnection