Progress® Telerik® Reporting R3 2017

EmbeddedConnectionInfo Class

Class for creating an embedded report engine connection string

Inheritance Hierarchy

Namespace:  Telerik.ReportViewer.Common
Assemblies:   Telerik.ReportViewer.WebForms (in Telerik.ReportViewer.WebForms.dll)
  Telerik.ReportViewer.WinForms (in Telerik.ReportViewer.WinForms.dll)
  Telerik.ReportViewer.Wpf (in Telerik.ReportViewer.Wpf.dll)

Syntax

public class EmbeddedConnectionInfo : ReportEngineConnectionInfoBase

The EmbeddedConnectionInfo type exposes the following members.

Constructors

  NameDescription
Public methodEmbeddedConnectionInfo
Initializes a new instance of the EmbeddedConnectionInfo class
Top

Properties

  NameDescription
Public propertyConnectionString
The connection string of the current ReportingEngineConnection instance.
(Inherited from ReportEngineConnectionInfoBase.)
Public propertyEngine (Inherited from ReportEngineConnectionInfoBase.)
Top

Methods

  NameDescription
Public methodToString (Inherited from ReportEngineConnectionInfoBase.)
Top

Examples

private void SetEmbeddedReportEngineConnection(object sender, System.EventArgs e)
{
    this.reportViewer1.ReportEngineConnection = new Telerik.ReportViewer.Common.EmbeddedConnectionInfo().ConnectionString;
    //if the ReportEngineConnection property is set to null or empty string, it will use the EmbeddedConnectionInfo by default. 
}

See Also