MMCTask.ScriptLanguage property

The ScriptLanguage property returns the script language of the script specified by the Script property. This property is used only if ActionType is 2.

This property is read-only.

Syntax

MMCTask.ScriptLanguage

Property value

The returned property is a String that represents the script language specified at the beginning of the string specified in the szScript member of the MMC_TASK structure returned in the IEnumTASK::Next method. If no script language is specified, the default language is JavaScript.

Remarks

This property contains the script language to use when running the script specified by the Script property using the window.execScript method on the taskpad DHTML page.

The ScriptLanguage property can have the following values:

  • VBSCRIPT
  • JSCRIPT
  • JAVASCRIPT

Requirements

Redistributable
MMC 1.1 or later
DLL
Cic.dll