Add or clear SSRS report parameters¶
Maintains the internal name/value collection of SSRS report parameters that will be applied on the next Render an SSRS report call.
| Field | Value |
|---|---|
| Operation ID | OP-RSPRINT-PARAMS |
| Trigger | Caller invokes clsRSPrint.AddParameter(name, value) or clsRSPrint.ClearParameters() |
| Inputs | Parameter name/value (for AddParameter) |
| Outputs | Updated internal NameValueCollection |
| Primary components | clsRSPrint.AddParameter, clsRSPrint.ClearParameters |
| Entry point | SAIF.Services.Printing\clsRSPrint.vb |
Steps¶
AddParameteradds a name/value pair to the internalNameValueCollectionused to build SSRS execution parameters on the next Render an SSRS report call.ClearParametersclears that collection.
Process flow¶
flowchart TD
Start([AddParameter or ClearParameters called]) --> Decision{Which method?}
Decision -->|AddParameter| Add[Add name/value to NameValueCollection]
Decision -->|ClearParameters| Clear[Clear NameValueCollection]
Add --> End([Used by next PreviewDocument call])
Clear --> End
Failure and edge-case behavior¶
- No validation of parameter name/value pairs occurs at this stage; unrecognized parameter names would only surface as an error from the SSRS
SetExecutionParameterscall in Render an SSRS report.*
Related documentation¶
Sources¶
SAIF.Services.Printing\clsRSPrint.vb