StopJob method

Applies to

Example

Description

Stops the job currently running.

Syntax

[ReturnValue =] Object.StopJob

Settings

Return value

Data type: Integer – if the job is stopped successfully, the method returns zero (0). Otherwise, a negative number is returned. See Event return value constants.

Remarks

Be careful when using this method, and ensure that you do not create timing problems.

Classic method

StopJob