You are here: C++ Support Classes > dtSearch Namespace > Classes > DJobBase Class > DJobBase::SetTimeout Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DJobBase::SetTimeout Method
Syntax
C++
void SetTimeout(long nSeconds);
Parameters
Description
long nSeconds
Number of seconds to allow the job to run

SetTimeout() causes a job to cancel automatically after the specified number of seconds