ReportExecutionService.SetExecutionParameters Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Sets and validates parameter values associated with the current report execution.
Syntax
'Declaration
Public Function SetExecutionParameters ( _
Parameters As ParameterValue(), _
ParameterLanguage As String _
) As ExecutionInfo
public ExecutionInfo SetExecutionParameters (
ParameterValue[] Parameters,
string ParameterLanguage
)
public:
ExecutionInfo^ SetExecutionParameters (
array<ParameterValue^>^ Parameters,
String^ ParameterLanguage
)
public ExecutionInfo SetExecutionParameters (
ParameterValue[] Parameters,
String ParameterLanguage
)
public function SetExecutionParameters (
Parameters : ParameterValue[],
ParameterLanguage : String
) : ExecutionInfo
Parameters
- Parameters
An array of ParameterValue objects.
- ParameterLanguage
A .NET Framework locale identifier.
Return Value
An ExecutionInfo object containing the new execution.
Remarks
If a snapshot exists in the current execution when the parameter values used in the query are set, it will be cleared (if it is not an execution or a history snapshot). Setting non-query parameters will not cause the snapshot to be cleared, but will require processing before it can be rendered.
If parameters do not pass the validation, then the method will return an error and the parameter values will not be changed.
If ParameterLanguage is specified, parameters are interpreted in this language. If ParameterLanguage is not specified, the default behavior is used.
You cannot specify parameters for execution or history snapshots.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
See Also
Reference
ReportExecutionService Class
ReportExecutionService Members
Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005 Namespace