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
jobIds
Type: System.Collections.Generic.List<Guid>The jobs desired. Empty/null means all jobs.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.