Sets data sources credentials associated with the current report execution.

Namespace:  PerpetuumSoft.ReportingServices.Viewer.Server
Assembly:  PerpetuumSoft.ReportingServices.Viewer.Server (in PerpetuumSoft.ReportingServices.Viewer.Server.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public abstract ReportExecutionInfo SetDataSourcesCredentials(
	string id,
	ReportDataSourceCredential[] credentials,
	out ExceptionDetailBase ReportError
)
Visual Basic (Declaration)
Public MustOverride Function SetDataSourcesCredentials ( _
	id As String, _
	credentials As ReportDataSourceCredential(), _
	<OutAttribute> ByRef ReportError As ExceptionDetailBase _
) As ReportExecutionInfo
Visual C++
public:
virtual ReportExecutionInfo^ SetDataSourcesCredentials(
	String^ id, 
	array<ReportDataSourceCredential^>^ credentials, 
	[OutAttribute] ExceptionDetailBase^% ReportError
) abstract

Return Value

ReportExecutionInfo class.

Implements

IReportService..::.SetDataSourcesCredentials(String, array<ReportDataSourceCredential>[]()[], ExceptionDetailBase%)

Remarks

If error occurs then ReportError is not null.

See Also