Progress® Telerik® Reporting R3 2020
RestServiceConnectionInfo Constructor (String, String, Boolean, Int32)
Class for creating a connection string that will be used with a REST service instance
Namespace:
Telerik.ReportViewer.CommonAssemblies: 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 RestServiceConnectionInfo( string uri, string token, bool useDefaultCredentials, int timeout )
Parameters
- uri
- Type: SystemString
The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports - token
- Type: SystemString
Authentication token to be sent with each request - useDefaultCredentials
- Type: SystemBoolean
Determines if the default credentials will be sent - timeout
- Type: SystemInt32
The timeout for rendering a document measured in seconds
Version Information
Supported in: 1.0.1