adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / GetJobGroup Method
The fully-qualified name of the group to fetch (see Remarks). Specify a null reference (Nothing in Visual Basic) or an empty string to get the root group.


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

    Parameters

    groupName
    The fully-qualified name of the group to fetch (see Remarks). Specify a null reference (Nothing in Visual Basic) or an empty string to get the root group.

    Return Value

    The Job Group, or a null reference (Nothing in Visual Basic) if no matching object is found.The Job Group, 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(String) instead to get multiple matches.
    Remarks
    If the group is contained in a parent group, the full path to the group must be included in the form "Group Level 1\Group Level 2\Group Level 3".
    See Also