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:
public class ConnectionInfo
Inheritance: objectConnectionInfo
Derived Classes:
Constructors
public ConnectionInfo()
Properties
ConnectionString
string
Gets or sets the connection string containing database connection parameters. Contains server location, credentials, database name, and other connection-specific settings.
[Required]
public string ConnectionString { get; set; }
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.
public string Name { get; set; }
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.
public string Provider { get; set; }
Common values include "System.Data.SqlClient" for SQL Server, "System.Data.OleDb" for OLE DB connections, and other provider-specific names.