Share via


TeamFoundationHostedBuildService.GetMachinePoolStatistics Method

Retrieves statistical information about a computer pool.

Namespace:  Microsoft.TeamFoundation.Build.Hosted.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
Public Function GetMachinePoolStatistics ( _
    requestContext As TeamFoundationRequestContext, _
    machinePool As String, _
    startTime As DateTime, _
    endTime As DateTime _
) As MachinePoolStatistics
public MachinePoolStatistics GetMachinePoolStatistics(
    TeamFoundationRequestContext requestContext,
    string machinePool,
    DateTime startTime,
    DateTime endTime
)
public:
MachinePoolStatistics^ GetMachinePoolStatistics(
    TeamFoundationRequestContext^ requestContext, 
    String^ machinePool, 
    DateTime startTime, 
    DateTime endTime
)
member GetMachinePoolStatistics : 
        requestContext:TeamFoundationRequestContext * 
        machinePool:string * 
        startTime:DateTime * 
        endTime:DateTime -> MachinePoolStatistics
public function GetMachinePoolStatistics(
    requestContext : TeamFoundationRequestContext, 
    machinePool : String, 
    startTime : DateTime, 
    endTime : DateTime
) : MachinePoolStatistics

Parameters

Return Value

Type: Microsoft.TeamFoundation.Build.Hosted.Server.MachinePoolStatistics
Statistics object. Returned even if no records are found.

.NET Framework Security

See Also

Reference

TeamFoundationHostedBuildService Class

Microsoft.TeamFoundation.Build.Hosted.Server Namespace