adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / GetJob Method
The fully-qualified name of the job to fetch (see Remarks).


In This Topic
    GetJob Method
    In This Topic
    Gets the Job with the specified name.
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Function GetJob( _
       ByVal jobName As String _
    ) As Job
    [CanBeNull()]
    public Job GetJob( 
       string jobName
    )
    [CanBeNull()]
    public:
    Job^ GetJob( 
       String^ jobName
    ) 

    Parameters

    jobName
    The fully-qualified name of the job to fetch (see Remarks).

    Return Value

    The Job, or a null reference (Nothing in Visual Basic) if no matching object is found.The Job, or a null reference (Nothing in Visual Basic) if no matching object is found.
    Exceptions
    ExceptionDescription
    Thrown if more than one job matches the criteria. Use GetJobs instead to get multiple matches.
    Remarks
    If the job is contained in a group, the full path to the job must be included in the form "Group Level 1\Group Level 2\Job Name". For a job in the root group, specify "\Job Name". To search all groups, specify only the name (e.g., "Job Name").
    See Also