The AddGlobalVariables property specifies whether global variables can be referenced from the current Microsoft® ActiveX® script.
| ActiveScriptTask Object | Step Object | 
object.AddGlobalVariables [= value]
| Part | Description | 
|---|---|
| object | Expression that evaluates to an object in the Applies To list | 
| value | Whether global variables can be referenced from the current Microsoft® ActiveX® script | 
The default is True.
Boolean
Read/write
HRESULT GetAddGlobalVariables(VARIANT_BOOL *pRetVal);
HRESULT SetAddGlobalVariables(VARIANT_BOOL NewValue);