The AddGlobalVariables property specifies whether global variables can be referenced from the current Microsoft® ActiveX® script.
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 |
Boolean
Read/write
HRESULT GetAddGlobalVariables(VARIANT_BOOL *pRetVal);
HRESULT SetAddGlobalVariables(VARIANT_BOOL NewValue);
The default is TRUE. You access the GlobalVariables collection from within ActiveX scripts using the name DTSGlobalVariables.