adTempus API
ArcanaDevelopment.adTempus.Client Namespace / JobServices Class / OverrideInstanceStatus Method
The OID of the ExecutionHistoryItem representing the instance
The new status for the instance
The reason for the override


In This Topic
    OverrideInstanceStatus Method
    In This Topic
    Overrides the status of an instance
    Syntax
    'Declaration
     
    
    Public Sub OverrideInstanceStatus( _
       ByVal instanceOID As OID, _
       ByVal newStatus As JobState, _
       Optional ByVal reason As String _
    ) 
    public void OverrideInstanceStatus( 
       OID instanceOID,
       JobState newStatus,
       string reason
    )
    public:
    void OverrideInstanceStatus( 
       OID^ instanceOID,
       JobState newStatus,
       String^ reason
    ) 

    Parameters

    instanceOID
    The OID of the ExecutionHistoryItem representing the instance
    newStatus
    The new status for the instance
    reason
    The reason for the override
    Exceptions
    ExceptionDescription
    Thrown if the caller does not have the necessary permission.
    Remarks
    The caller must have Modify or Execute permission for the job.
    See Also