DTS Programming
TerminateProcessAfterTimeout Property
The TerminateProcessAfterTimeout property specifies whether to terminate the process after the time-out period has expired.
Applies To
CreateProcessTask Object | CreateProcessTask2 Object |
Syntax
object.TerminateProcessAfterTimeout [= value]
Part | Description |
---|---|
Object | Expression that evaluates to an object in the Applies To list |
Value | Boolean that specifies whether to terminate the process |
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetTerminateProcessAfterTimeout(VARIANT_BOOL *pRetVal);
HRESULT SetTerminateProcessAfterTimeout(VARIANT_BOOL NewValue);
Remarks
If TerminateProcessAfterTimeout is FALSE (the default), the task fails after the time-out without terminating the created process. The FailPackageOnTimeout property determines if the entire package is terminated after the time-out occurs.