[]
        
(Showing Draft Content)

C1.Web.Api.Report.ReportProviderManager.AddSsrsReportHost

AddSsrsReportHost Method

AddSsrsReportHost(string, SsrsHost)

Add SsrsHost for SSRS report to current ReportProviderManager.

Declaration
public ReportProviderManager AddSsrsReportHost(string key, SsrsHost host)
Parameters
Type Name Description
string key

The provider key act as the alias name of the SSRS host.

SsrsHost host

The SsrsHost.

Returns
Type Description
ReportProviderManager

The ReportProviderManager.

AddSsrsReportHost(string, string, NetworkCredential, AuthenticationType, int)

Add an SSRS host for SSRS report to current ReportProviderManager.

Declaration
public ReportProviderManager AddSsrsReportHost(string key, string serviceUrl, NetworkCredential credential = null, AuthenticationType authenticationType = AuthenticationType.Ntlm, int timeout = 600000)
Parameters
Type Name Description
string key

The provider key act as the alias name of the SSRS host.

string serviceUrl

The url of the SSRS web service.

NetworkCredential credential

The credential used in SSRS connection.

AuthenticationType authenticationType

The type of authentication used in SSRS connection.

int timeout

The number of milliseconds to wait for server communications.

Returns
Type Description
ReportProviderManager

The ReportProviderManager.