Back to Devexpress

IConnectionStorageService Interface

corelibraries-devexpress-dot-dataaccess-dot-wizard-dot-services-1bc714d8.md

latest2.5 KB
Original Source

IConnectionStorageService Interface

Allows you to store the data connection settings in WinForms and WPF applications.

Namespace : DevExpress.DataAccess.Wizard.Services

Assembly : DevExpress.DataAccess.v25.2.dll

NuGet Package : DevExpress.DataAccess

Declaration

csharp
public interface IConnectionStorageService
vb
Public Interface IConnectionStorageService

The following members return IConnectionStorageService objects:

Remarks

The connections list in the End-User Report Designer‘s Data Source Wizard is populated with connections stored in the application’s configuration file. Implement the IConnectionStorageService interface to initialize, save, and restore connection strings. Register the implemented interface to make the connection strings available in the End-User Report Designer :

  • Windows Forms

  • WPF

For more information, review the following topic: SqlDataSource - Best Practices for Managing Connection Settings in XtraReports.

Important

Ensure that you protect sensitive connection data to avoid security issues. For instance, you can use the SqlDataConnection.BlackoutCredentials method to remove user credentials from connections strings.

See Also

IConnectionStorageService Members

IConnectionProviderService

DevExpress.DataAccess.Wizard.Services Namespace