Sets and validates parameter values 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#
ReportExecutionInfo SetParameters(
	string id,
	ReportParameterValue[] paramatersValues,
	string parametersLanguage,
	out ExceptionDetailBase ReportError
)
Visual Basic (Declaration)
Function SetParameters ( _
	id As String, _
	paramatersValues As ReportParameterValue(), _
	parametersLanguage As String, _
	<OutAttribute> ByRef ReportError As ExceptionDetailBase _
) As ReportExecutionInfo
Visual C++
ReportExecutionInfo^ SetParameters(
	String^ id, 
	array<ReportParameterValue^>^ paramatersValues, 
	String^ parametersLanguage, 
	[OutAttribute] ExceptionDetailBase^% ReportError
)

Parameters

id
Type: System..::.String
Report identifier.
paramatersValues
Type: array< PerpetuumSoft.ReportingServices.Viewer.Server..::.ReportParameterValue >[]()[]
List of parameters values (see ReportParameterValue)
parametersLanguage
Type: System..::.String
Parameter language. It must be CultureInfo.CurrentUICulture.Name value. (Name)
ReportError
Type: PerpetuumSoft.ReportingServices.Viewer.Server..::.ExceptionDetailBase %
ExceptionDetailBase class.

Return Value

ReportExecutionInfo class.

Remarks

If error occurs then ReportError is not null.
If ParameterLanguage is specified, parameters are interpreted in this language. If ParameterLanguage is not specified, the default behavior is used.

See Also