New to Telerik ReportingStart a free 30-day trial

Interface defining storage operations for database connection settings in the WebReportDesigner system.

Definition

Namespace:Telerik.WebReportDesigner.Services

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

C#
public interface ISettingsStorage

Derived Classes: FileSettingsStorage

Methods

Adds a new database connection to the user's configuration storage.

C#
void AddConnection(ConnectionInfo connectionInfo)
Parameters:connectionInfoConnectionInfo

The connection information to add to the storage.

Remarks:

Persists the connection information to user-specific settings, making it available for future WebReportDesigner sessions and data source configurations without modifying application-level configuration files.

Retrieves all database connections from the configuration storage.

C#
IEnumerable<ConnectionInfo> GetConnections()
Returns:

IEnumerable<ConnectionInfo>

A list of all connection string present in the project configuration.

Remarks:

Combines connections from application configuration files with user-specific settings to provide a unified view of all available database connections for data source configuration in the WebReportDesigner.