Class ReportServerConnectionInfo
Class for creating a connection string that will be used with a Report Server instance
Inheritance
Inherited Members
Namespace: Telerik.ReportViewer.Common
Assembly: Telerik.ReportViewer.WinForms.dll
Syntax
public class ReportServerConnectionInfo : RemoteConnectionInfo
Examples
private void SetReportServerReportEngineConnection(object sender, System.EventArgs e)
{
this.reportViewer1.ReportEngineConnection = new Telerik.ReportViewer.Common.ReportServerConnectionInfo("http://reportserver:83", "user", "pass", 20).ConnectionString;
}
Private Sub SetReportServerReportEngineConnection(sender As Object, e As System.EventArgs)
Me.ReportViewer1.ReportEngineConnection = New Telerik.ReportViewer.Common.ReportServerConnectionInfo("http://reportserver:83", "user", "pass", 20).ConnectionString
End Sub
Constructors
ReportServerConnectionInfo(String)
Class for creating a connection string to a Report Server instance
Declaration
public ReportServerConnectionInfo(string uri)
Parameters
System.String
uri
The URI to the Report Server instance |
ReportServerConnectionInfo(String, Boolean)
Class for creating a connection string to a Report Server instance
Declaration
public ReportServerConnectionInfo(string uri, bool keepClientAlive)
Parameters
System.String
uri
The URI to the Report Server instance |
System.Boolean
keepClientAlive
Determines if the client will be kept alive (will not be expired) |
ReportServerConnectionInfo(String, Int32)
Class for creating a connection string to a Report Server instance
Declaration
public ReportServerConnectionInfo(string uri, int timeout)
Parameters
System.String
uri
The URI to the Report Server instance |
System.Int32
timeout
The timeout for rendering a document measured in seconds |
ReportServerConnectionInfo(String, Int32, Boolean)
Class for creating a connection string to a Report Server instance
Declaration
public ReportServerConnectionInfo(string uri, int timeout, bool keepClientAlive)
Parameters
System.String
uri
The URI to the Report Server instance |
System.Int32
timeout
The timeout for rendering a document measured in seconds |
System.Boolean
keepClientAlive
Determines if the client will be kept alive (will not be expired) |
ReportServerConnectionInfo(String, String, String)
Class for creating a connection string to a Report Server instance
Declaration
public ReportServerConnectionInfo(string uri, string username, string password)
Parameters
System.String
uri
The URI to the Report Server instance |
System.String
username
The username that will be used for connecting |
System.String
password
The password that will be used for connecting |
ReportServerConnectionInfo(String, String, String, Boolean)
Class for creating a connection string to a Report Server instance
Declaration
public ReportServerConnectionInfo(string uri, string username, string password, bool keepClientAlive)
Parameters
System.String
uri
The URI to the Report Server instance |
System.String
username
The username that will be used for connecting |
System.String
password
The password that will be used for connecting |
System.Boolean
keepClientAlive
Determines if the client will be kept alive (will not be expired) |
ReportServerConnectionInfo(String, String, String, Int32)
Class for creating a connection string to a Report Server instance
Declaration
public ReportServerConnectionInfo(string uri, string username, string password, int timeout)
Parameters
System.String
uri
The URI to the Report Server instance |
System.String
username
The username that will be used for connecting |
System.String
password
The password that will be used for connecting |
System.Int32
timeout
The timeout for rendering a document measured in seconds |
ReportServerConnectionInfo(String, String, String, Int32, Boolean)
Class for creating a connection string to a Report Server instance
Declaration
public ReportServerConnectionInfo(string uri, string username, string password, int timeout, bool keepClientAlive)
Parameters
System.String
uri
The URI to the Report Server instance |
System.String
username
The username that will be used for connecting |
System.String
password
The password that will be used for connecting |
System.Int32
timeout
The timeout for rendering a document measured in seconds |
System.Boolean
keepClientAlive
Determines if the client will be kept alive (will not be expired) |
Properties
Password
Gets or sets the password
Declaration
public string Password { get; set; }
Property Value
System.String
|
Username
Gets or sets the username
Declaration
public string Username { get; set; }
Property Value
System.String
|