SaveConnectionMethod Enum
Lists the values indicating how to save the connection string.
Namespace: DevExpress.DataAccess.Wizard.Model
Assembly: DevExpress.DataAccess.v20.1.dll
NuGet Packages: DevExpress.DataAccess, DevExpress.WindowsDesktop.DataAccess
Declaration
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