Class ReportServer
Provides configuration data for connecting to a Telerik Report Server instance from the MVC Report Viewer. Used to establish authenticated connections to Report Server for centralized report management and deployment scenarios. Connecting to Telerik Report Server for .NET is not supported.
Inheritance
Namespace: Telerik.ReportViewer.Mvc
Assembly: Telerik.ReportViewer.Mvc.dll
Syntax
public class ReportServer
Remarks
Contains connection details including server URL and authentication credentials for Report Server integration.
Constructors
ReportServer()
Initializes a new instance of the ReportServer class with default settings.
Declaration
public ReportServer()
Properties
Password
Gets or sets the password associated with the specified username for Report Server authentication.
Declaration
public string Password { get; set; }
Property Value
|
System.String
|
Remarks
Required when Username is specified for authenticated access to protected reports and resources.
Url
Gets or sets the URL of the Telerik Report Server instance.
Declaration
public string Url { get; set; }
Property Value
|
System.String
|
Remarks
Must be a complete URL including protocol (http/https) pointing to the Report Server installation.
Username
Gets or sets a valid username that exists in Report Server registered users, or null/empty to use the built-in Guest account.
Declaration
public string Username { get; set; }
Property Value
|
System.String
|
Remarks
When empty, uses the Guest account which requires appropriate server permissions for accessing reports.