The CheckSyntax method evaluates the script specified by the ActiveXScript property for correct syntax.
object.CheckSyntax()
HRESULT CheckSyntax();
ActiveXScript Property
Adding DTS ActiveX Scripts
ScriptLanguage Property