Sets data sources credentials associated with the current report execution.
Namespace:
PerpetuumSoft.ReportingServices.Viewer.ServerAssembly: 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 |
Parameters
- id
- Type: System..::.String
Report identifier.
- credentials
- Type: array<
PerpetuumSoft.ReportingServices.Viewer.Server..::.ReportDataSourceCredential
>[]()[]
List of data sources credentials (see ReportDataSourceCredential).
- ReportError
- Type:
PerpetuumSoft.ReportingServices.Viewer.Server..::.ExceptionDetailBase
%
ExceptionDetailBase class.
Return Value
ReportExecutionInfo class.Implements
IReportService..::.SetDataSourcesCredentials(String, array<ReportDataSourceCredential>[]()[], ExceptionDetailBase%)Remarks
If error occurs then ReportError is not null.