FaxJob.SetStatus method
Call the SetStatus method to pause, resume, cancel, or restart a specified fax job.
Syntax
FaxJob.SetStatus( _
ByVal Command As Long _
) As Long
Parameters
-
Command [in]
-
Type: Long
Specifies a Long variable that indicates the job command to perform. This parameter can be one of the following values.
-
JC_DELETE (JC_DELETE)
-
Cancel the specified fax job. The job can be active or queued.
-
JC_PAUSE (JC_PAUSE)
-
Pause the specified queued fax job. If the fax job is active, the fax service pauses the job when it returns to the queued state.
-
JC_RESUME (JC_RESUME)
-
Resume the paused fax job.
-
JC_RESTART (JC_RESTART)
-
Restart the specified fax job.
Remarks
You can use the QueueStatus property to retrieve the job queue status of a fax job.
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
DLL |
|
See also