ScriptLanguage Property

DTS Programming

DTS Programming

ScriptLanguage Property

The ScriptLanguage property specifies the Microsoft® ActiveX® script language needed to execute a script (for example, Microsoft Visual Basic® Scripting Edition (VBScript), Microsoft JScript®, or PerlScript).

Applies To
ActiveScriptTask Object Step2 Object
Step Object  
Syntax

object.ScriptLanguage [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value ActiveX script language needed to execute a script

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetScriptLanguage(BSTR *pRetVal);

HRESULT SetScriptLanguage(BSTR NewValue);

Remarks

The default is VBScript.

Script languages available on a particular system can be determined by enumerating the ScriptingLanguageInfos collection of the Application object. For more information about which scripting language to use with Data Transformation Services (DTS), see ScriptingLanguageInfo Object.

See Also

Application Object

ActiveXScript Property

FunctionName Property

Language Property

ScriptingLanguageInfos Collection