ScriptDef ValidateScript Method

Meta Data Services Programming

Meta Data Services Programming

ScriptDef ValidateScript Method

This method validates script provided through the Body property. Validation is performed by the Microsoft® ActiveX® Scripting Engine for the specified language.

Syntax

Object.ValidateScript

The ValidateScript method syntax has the following part.

Part Description
object The ScriptDef object
Remarks

The ValidateScript method returns S_OK if the script can be executed; otherwise it returns an error generated by the script engine.

The syntax of the script is checked by instantiating the script. For more information, see Defining Script Objects.

See Also

ScriptDef Object