Language Property

DTS Programming

DTS Programming

Language Property

The Language property specifies the Microsoft® ActiveX® scripting language the transformation is using.

Applies To
DataPumpTransformScript Object DTSTransformScriptProperties2 Object
Syntax

object.Language [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Scripting language being used

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetLanguage(BSTR *pRetVal);

HRESULT SetLanguage(BSTR NewValue);

Remarks

The default is Microsoft Visual Basic® Scripting Edition (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.

The property also can be referenced through the TransformServerProperties collection with the following code:

Set transprops = transform.TransformServerProperties
transprops("Language") [= string]

See Also

Application Object

ScriptingLanguageInfos Collection

ScriptLanguage Property

Text Property