Progress® Telerik® Reporting R3 2017

RestServiceConnectionInfo Class

Class for creating a connection string that will be used with a REST service instance

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 RestServiceConnectionInfo : RemoteConnectionInfo

The RestServiceConnectionInfo type exposes the following members.

Constructors

  NameDescription
Public methodRestServiceConnectionInfo(String)
Initializes a new instance of the RestServiceConnectionInfo class
Public methodRestServiceConnectionInfo(String, Boolean)
Initializes a new instance of the RestServiceConnectionInfo class
Public methodRestServiceConnectionInfo(String, String)
Initializes a new instance of the RestServiceConnectionInfo class
Public methodRestServiceConnectionInfo(String, String, Boolean)
Initializes a new instance of the RestServiceConnectionInfo class
Top

Properties

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

Methods

  NameDescription
Public methodToString (Inherited from ReportEngineConnectionInfoBase.)
Top

Examples

private void SetRestServiceReportEngineConnection(object sender, System.EventArgs e)
{
    this.reportViewer1.ReportEngineConnection = new Telerik.ReportViewer.Common.RestServiceConnectionInfo("http://servicehost:83/api/reports", "authToken").ConnectionString;
}

See Also