Base class for dtsSearchJob, dtsIndexJob, dtsFileConvertJob, etc.
struct dtsJobBase { int DTPROC (* pReportCallBack)(void *pReportData, dtsMessage& message); void * pReportData; long cancelFlag; dtsErrorInfo * errorHandler; long timeoutSeconds; };
dtsearch.h
|
Members |
Description |
|
int DTPROC (* pReportCallBack)(void *pReportData, dtsMessage& message); |
Pointer to a function to be called with status report information during the job. |
|
void * pReportData; |
User data that will be passed to the status report callback function |
|
long cancelFlag; |
When the job is completed, cancelFlag will be set to dtsAbort if the job was cancelled. |
|
dtsErrorInfo * errorHandler; |
Pointer to a dtsErrorInfo to store any error messages generated during the job. |
|
long timeoutSeconds; |
If you want the job to automatically halt after a specified amount of time, set the timeoutSeconds to a positive value. |
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|