adTempus API
ArcanaDevelopment.adTempus.Client Namespace / JobControlAction Class / TargetJob Property


In This Topic
    TargetJob Property (JobControlAction)
    In This Topic
    The job to control
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Property TargetJob As Job
    [CanBeNull()]
    public Job TargetJob {get; set;}
    [CanBeNull()]
    public:
    property Job^ TargetJob {
       Job^ get();
       void set (    Job^ value);
    }
    Remarks

    Set to a null reference (Nothing in Visual Basic) if the action operates on the current job.

    When TargetServerID is set, the TargetJob may be null. In that case you can obtain the identity and name from the TargetJobOID and TargetJobName. If you need a reference to the job, you must make a separate connection to the TargetComputer and retrieve the job.

    If the target job is on a different adTempus instance, setting TargetJob automatically sets the TargetJobOID, TargetServerID, and TargetComputer.

    See Also