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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextDeployment-level context to use.
machinePool
Type: System.StringMachine pool to examine.
startTime
Type: System.DateTimeBeginning of timespan to examine.
endTime
Type: System.DateTimeEnd of timespan to examine.
Return Value
Type: Microsoft.TeamFoundation.Build.Hosted.Server.MachinePoolStatistics
Statistics object. Returned even if no records are found.
.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.