DTS Programming
AddGlobalVariables Property
The AddGlobalVariables property specifies whether global variables can be referenced from the current Microsoft® ActiveX® script.
Applies To
ActiveScriptTask Object | Step2 Object |
Step Object |
Syntax
object.AddGlobalVariables [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Boolean that specifies whether global variables can be referenced from the current ActiveX script |
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetAddGlobalVariables(VARIANT_BOOL *pRetVal);
HRESULT SetAddGlobalVariables(VARIANT_BOOL NewValue);
Remarks
The default is TRUE. You access the GlobalVariables collection from within ActiveX scripts using the name DTSGlobalVariables.