adTempus API
ArcanaDevelopment.adTempus.Client Namespace / JobServices Class / TerminateJob Method
The OID of the job to terminate
Options specifying which instances are terminated
The InstanceID of the instance to terminate, if you only want to terminate a specific instance.
The OID of the RemoteAgent to terminate instances on
The reason for termination. This is recorded in the Job Log for the instance(s).


In This Topic
    TerminateJob Method
    In This Topic
    Terminates one or more instances of a running job
    Syntax
    'Declaration
     
    
    Public Sub TerminateJob( _
       ByVal jobOID As OID, _
       Optional ByVal options As TerminationOptions, _
       Optional ByVal instanceID As Integer, _
       Optional ByVal agentOID As OID, _
       Optional ByVal reason As String _
    ) 

    Parameters

    jobOID
    The OID of the job to terminate
    options
    Options specifying which instances are terminated
    instanceID
    The InstanceID of the instance to terminate, if you only want to terminate a specific instance.
    agentOID
    The OID of the RemoteAgent to terminate instances on
    reason
    The reason for termination. This is recorded in the Job Log for the instance(s).
    See Also