New to Telerik ReportingStart a free 30-day trial

Contains essential database connection information for establishing data connections. Provides the core properties needed to connect to and identify database connections.

Definition

Namespace:Telerik.Reporting.Data.Schema

Assembly:Telerik.Reporting.Data.Schema.dll

Syntax:

C#
public class ConnectionInfo

Inheritance: objectConnectionInfo

Derived Classes: QueryInfoSchemaRestrictionsInfo

Constructors

C#
public ConnectionInfo()

Properties

Gets or sets the connection string containing database connection parameters. Contains server location, credentials, database name, and other connection-specific settings.

C#
[Required]
public string ConnectionString { get; set; }
Remarks:

This property is required and must contain all necessary information to establish a database connection including server, authentication, and database details.

Name

string

Gets or sets the display name of the database connection. Used for identification and display purposes in connection lists and user interfaces.

C#
public string Name { get; set; }
Remarks:

This is typically a user-friendly name that helps identify the connection in dropdowns and configuration screens.

Provider

string

Gets or sets the data provider name that specifies the database type. Determines which database driver and SQL dialect to use for the connection.

C#
public string Provider { get; set; }
Remarks:

Common values include "System.Data.SqlClient" for SQL Server, "System.Data.OleDb" for OLE DB connections, and other provider-specific names.