Class ConnectionInfo
Contains essential database connection information for establishing data connections. Provides the core properties needed to connect to and identify database connections.
Inheritance
Namespace: Telerik.Reporting.Data.Schema
Assembly: Telerik.Reporting.Data.Schema.dll
Syntax
public class ConnectionInfo
Remarks
This class serves as a base for database connection operations throughout the Web Report Designer and reporting services.
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
public string ConnectionString { get; set; }
Property Value
|
System.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
|
System.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
|
System.String
|
Remarks
Common values include "System.Data.SqlClient" for SQL Server, "System.Data.OleDb" for OLE DB connections, and other provider-specific names.