TeamFoundationHostedBuildService.GetMachinePoolStatistics 方法

检索有关计算机池的统计信息。

命名空间:  Microsoft.TeamFoundation.Build.Hosted.Server
程序集:  Microsoft.TeamFoundation.Build.Server(在 Microsoft.TeamFoundation.Build.Server.dll 中)

语法

声明
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
)

参数

返回值

类型:Microsoft.TeamFoundation.Build.Hosted.Server.MachinePoolStatistics
统计信息对象。返回,即使没有找到记录。

.NET Framework 安全性

请参见

参考

TeamFoundationHostedBuildService 类

Microsoft.TeamFoundation.Build.Hosted.Server 命名空间