Job Outcome Constants (SQLDMO_JOBOUTCOME_TYPE)

Job outcome constants specify an execution completion status for SQL Server Agent jobs.

Constant Value Description
SQLDMOJobOutcome_Cancelled 3 Execution canceled by user action
SQLDMOJobOutcome_Failed 0 Execution failed
SQLDMOJobOutcome_InProgress 4 Job or job step is executing
SQLDMOJobOutcome_Succeeded 1 Execution succeeded
SQLDMOJobOutcome_Unknown 5 Unable to determine execution state

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.