Validates report scripts.
public CompilerErrorCollection ValidateScripts()
Public Function ValidateScripts As CompilerErrorCollection
A CompilerErrorCollection object, representing a collection of compiler errors or warnings.
When scripts are written for a report or any of its elements (bands or controls), they can all be easily accessed in the Scripts tab (both at design time within Visual Studio, and in the End-User Report Designer).
In this tab, clicking the Validate button triggers the ValidateScripts method to check the compilability of all the existing scripts.
To learn more, refer to Scripting Overview.