Share via


JobWebService.QueryLatestJobHistory Method

Queries for the latest history on the specified jobs.

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryLatestJobHistory ( _
    jobIds As List(Of Guid) _
) As List(Of TeamFoundationJobHistoryEntry)
[WebMethodAttribute]
public List<TeamFoundationJobHistoryEntry> QueryLatestJobHistory(
    List<Guid> jobIds
)
[WebMethodAttribute]
public:
List<TeamFoundationJobHistoryEntry^>^ QueryLatestJobHistory(
    List<Guid>^ jobIds
)
[<WebMethodAttribute>]
member QueryLatestJobHistory : 
        jobIds:List<Guid> -> List<TeamFoundationJobHistoryEntry> 
public function QueryLatestJobHistory(
    jobIds : List<Guid>
) : List<TeamFoundationJobHistoryEntry>

Parameters

Return Value

Type: System.Collections.Generic.List<TeamFoundationJobHistoryEntry>
A list of history entries found for the specified jobs in the same order as the job ids. Null elements are returned for jobs that don't exist or that have no history. If no job ids are specified, the results are sorted by EndTime.

.NET Framework Security

See Also

Reference

JobWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace