The ExecuteInMainThread property specifies whether the step executes in the main thread of the Package object instead of a worker thread.
| Step Object |
object.ExecuteInMainThread [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Whether the step executes in the main thread of the Package object |
The default is False.
Boolean
Read/write
HRESULT GetExecuteInMainThread(VARIANT_BOOL *pRetVal);
HRESULT SetExecuteInMainThread(VARIANT_BOOL NewValue);