Share via


TeamFoundationJobReportingService.GetResultTypeCount Method

Query the job history for the number of result types over a given time.

ResultTypeId ResultTypeName Count ------------ -------------- ----- 0 Success 322 5 Blocked 2 If the start time is not provided we will use the end time if provided) or now minus 48 hours (unless overridden in the registry).

If the end time is not provided, we will us now.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetResultTypeCount ( _
    requestContext As TeamFoundationRequestContext _
) As List(Of TeamFoundationJobReportingResultTypeCount)
public List<TeamFoundationJobReportingResultTypeCount> GetResultTypeCount(
    TeamFoundationRequestContext requestContext
)
public:
List<TeamFoundationJobReportingResultTypeCount^>^ GetResultTypeCount(
    TeamFoundationRequestContext^ requestContext
)
member GetResultTypeCount : 
        requestContext:TeamFoundationRequestContext -> List<TeamFoundationJobReportingResultTypeCount> 
public function GetResultTypeCount(
    requestContext : TeamFoundationRequestContext
) : List<TeamFoundationJobReportingResultTypeCount>

Parameters

Return Value

Type: System.Collections.Generic.List<TeamFoundationJobReportingResultTypeCount>

.NET Framework Security

See Also

Reference

TeamFoundationJobReportingService Class

Microsoft.TeamFoundation.Framework.Server Namespace