TeamFoundationJobService.QueryJobHistory Method
Queries for history on the specified jobs for the requested sources.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryJobHistory ( _
requestContext As TeamFoundationRequestContext, _
jobIds As IEnumerable(Of Guid) _
) As List(Of TeamFoundationJobHistoryEntry)
public List<TeamFoundationJobHistoryEntry> QueryJobHistory(
TeamFoundationRequestContext requestContext,
IEnumerable<Guid> jobIds
)
public:
List<TeamFoundationJobHistoryEntry^>^ QueryJobHistory(
TeamFoundationRequestContext^ requestContext,
IEnumerable<Guid>^ jobIds
)
member QueryJobHistory :
requestContext:TeamFoundationRequestContext *
jobIds:IEnumerable<Guid> -> List<TeamFoundationJobHistoryEntry>
public function QueryJobHistory(
requestContext : TeamFoundationRequestContext,
jobIds : IEnumerable<Guid>
) : List<TeamFoundationJobHistoryEntry>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextA requestContext associated with the same host as the jobs to query.
jobIds
Type: System.Collections.Generic.IEnumerable<Guid>The job filter. Empty/null value means all jobs.
Return Value
Type: System.Collections.Generic.List<TeamFoundationJobHistoryEntry>
A list of history entries found for the provided filter(s).
.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.