Progress® Telerik® Reporting R3 2018

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) Version: 12.2.18.1017 (12.2.18.1017)
  Telerik.ReportViewer.WinForms (in Telerik.ReportViewer.WinForms.dll) Version: 12.2.18.1017 (12.2.18.1017)
  Telerik.ReportViewer.Wpf (in Telerik.ReportViewer.Wpf.dll) Version: 12.2.18.1017 (12.2.18.1017)

Syntax

public class RestServiceConnectionInfo : RemoteConnectionInfo

The RestServiceConnectionInfo type exposes the following members.

Constructors

  NameDescription
Public methodRestServiceConnectionInfo(String)
Class for creating a connection string that will be used with a REST service instance
Public methodRestServiceConnectionInfo(String, Boolean)
Class for creating a connection string that will be used with a REST service instance
Public methodRestServiceConnectionInfo(String, Int32)
Class for creating a connection string that will be used with a REST service instance
Public methodRestServiceConnectionInfo(String, String)
Class for creating a connection string that will be used with a REST service instance
Public methodRestServiceConnectionInfo(String, String, Boolean)
Class for creating a connection string that will be used with a REST service instance
Public methodRestServiceConnectionInfo(String, String, Int32)
Class for creating a connection string that will be used with a REST service instance
Public methodRestServiceConnectionInfo(String, String, Boolean, Int32)
Class for creating a connection string that will be used with a REST service instance
Top

Properties

  NameDescription
Public propertyConnectionString
The connection string of the current ReportingEngineConnection instance.
(Inherited from ReportEngineConnectionInfoBase.)
Public propertyEngine (Inherited from ReportEngineConnectionInfoBase.)
Public propertyTimeout
Gets or sets the timeout for rendering a document
(Inherited from RemoteConnectionInfo.)
Public propertyToken
Gets or sets authentication token
Public propertyUri
Gets or sets the remote engine URI
(Inherited from RemoteConnectionInfo.)
Public propertyUseDefaultCredentials
Determines if the default credentials to be set when connecting to report engine
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", 20).ConnectionString;
}

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy