Back to Devexpress

SaveConnectionMethod Enum

corelibraries-devexpress-dot-dataaccess-dot-wizard-dot-model-5e4e5dd2.md

latest2.3 KB
Original Source

SaveConnectionMethod Enum

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

Declaration

csharp
[Flags]
public enum SaveConnectionMethod
vb
<Flags>
Public Enum SaveConnectionMethod

Members

NameDescription
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:

LibraryRelated API Members
Cross-Platform Class LibraryDataSourceModelWithConnectionBase.ShouldSaveConnection
IDataComponentModelWithConnection.ShouldSaveConnection
.NET Reporting ToolsXtraReportModel.ShouldSaveConnection

See Also

DataSourceModelWithConnectionBase.ShouldSaveConnection

IDataComponentModelWithConnection.ShouldSaveConnection

XtraReportModel.ShouldSaveConnection

DevExpress.DataAccess.Wizard.Model Namespace