adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / GetJobHistoryWithRecordCount Method
Query parameters specifying the instances to return
Returns the total number of records that match the query parameters. See Remarks.


In This Topic
    GetJobHistoryWithRecordCount Method
    In This Topic
    Gets job instances matching a filter and returns a count of the records available
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Function GetJobHistoryWithRecordCount( _
       ByVal parameters As InstanceQueryParameters, _
       ByRef recordCount As Integer _
    ) As ExecutionHistoryItemCollection
    [NotNull()]
    public ExecutionHistoryItemCollection GetJobHistoryWithRecordCount( 
       InstanceQueryParameters parameters,
       out int recordCount
    )
    [NotNull()]
    public:
    ExecutionHistoryItemCollection^ GetJobHistoryWithRecordCount( 
       InstanceQueryParameters^ parameters,
       [Out] int recordCount
    ) 

    Parameters

    parameters
    Query parameters specifying the instances to return
    recordCount
    Returns the total number of records that match the query parameters. See Remarks.
    Remarks

    Use this method when you want to return a limited number of records but also report the total number of records available. In the parameters set ArcanaDevelopment.adTempus.Shared.JobQueryParameters.PageSize to the maximum number of records you want to return and ArcanaDevelopment.adTempus.Shared.JobQueryParameters.PageNumber to 1. This method will count the total number of records that match the parameters and return that count in recordCount, but will return no more than ArcanaDevelopment.adTempus.Shared.JobQueryParameters.PageSize records in the returned collection.

    See Also