The ValidateScript method syntactically validates the script.
HRESULT ValidateScript();
Dispatch Identifier: DISPID_IScriptDef_ValidateScript = 347
None.
S_OK
The method completed successfully.
This method returns a Script Engine specific error if the script engine is unable to instantiate the script.
The syntax of the script is checked by instantiating the script.