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


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

    Parameters

    outcome
    Indicates whether the step 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