adTempus API
ArcanaDevelopment.adTempus.ApplicationIntegration Namespace / IApplicationIntegration Interface / SetJobOutcome Method
Indicates whether the job should be reported as Succeeded or Failed.
Optional message to log to the Job Log


In This Topic
    SetJobOutcome Method (IApplicationIntegration)
    In This Topic
    Sets the success or failure state of the job in which the script is executing
    Syntax
    'Declaration
     
    
    Sub SetJobOutcome( _
       ByVal outcome As ExecutionOutcome, _
       Optional ByVal message As String _
    ) 
    void SetJobOutcome( 
       ExecutionOutcome outcome,
       string message
    )
    void SetJobOutcome( 
       ExecutionOutcome outcome,
       String^ message
    ) 

    Parameters

    outcome
    Indicates whether the job should be reported as Succeeded or Failed.
    message
    Optional message to log to the Job Log
    Remarks
    When the outcome is set using SetStepOutcome, this overrides the normal success/failure determination rules for the step. This is equivalent to using a JobControlAction with a ControlType of SucceedJob or FailJob
    See Also