3.2.4.2.9.12 KillTimeout (put) (Opnum 23)
The KillTimeout (put) method sets the kill time-out property of the action. The kill time-out is the number of minutes the server waits before terminating the process running the executable it started.
-
[propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x06))] HRESULT KillTimeOut( [in] long minutes );
minutes: Contains the kill time-out to use for this action.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x8004530D
FSRM_E_OUT_OF_RANGE
The content of the minutes parameter is less than zero.
0x80070057
E_INVALIDARG
The minutes parameter is NULL.
The server MUST use minutes as the kill time-out for this action's executable or return a nonzero error code.
The server MUST terminate the process after waiting the specified time if the MonitorCommand property is set to true.