ClearSpParameterCache Method
- Last UpdatedMar 17, 2026
- 1 minute read
The ClearSpParameterCache() methods clear the parameter cache in the MES middleware for custom stored procedures (SPs). For performance reasons, the middleware caches the parameter list of an SP the first time the SP is called. If a custom SP's parameter list is subsequently changed, the middleware might not correctly call the SP until the cache is cleared.
| Overload | Description |
|---|---|
| ClearSpParameterCache(String) | The ClearSpParameterCache(string) method clears the parameter cache in the MES middleware for the specified stored procedure (SP). For performance reasons, the middleware caches the parameter list of an SP the first time the SP is called. If a custom SP's parameter list is subsequently changed, the middleware might not correctly call the SP until the cache is cleared. |
| ClearSpParameterCache() | The ClearSpParameterCache() method clears the parameter cache in the MES middleware for all stored procedures (SPs). For performance reasons, the middleware caches the parameter list of an SP the first time the SP is called. If a custom SP's parameter list is subsequently changed, the middleware might not correctly call the SP until the cache is cleared. |