ClassConnectionInfo
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
ConnectionInfo()
Declaration
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
[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
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
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.