Class
ConnectionInfo

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:

cs-api-definition
public class ConnectionInfo

Inheritance: objectConnectionInfo

Derived Classes: QueryInfoSchemaRestrictionsInfo

Constructors

ConnectionInfo()

Declaration

cs-api-definition
public ConnectionInfo()

Properties

ConnectionString

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

Declaration

cs-api-definition
[Required]
public string ConnectionString { get; set; }

Property Value

string

Remarks

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

Name

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

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string

Remarks

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

Provider

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

Declaration

cs-api-definition
public string Provider { get; set; }

Property Value

string

Remarks

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