共用方式為


TeamFoundationBuildResourceService.QueryBuildAgents 方法

命名空間:  Microsoft.TeamFoundation.Build.Server
組件:  Microsoft.TeamFoundation.Build.Server (在 Microsoft.TeamFoundation.Build.Server.dll 中)

語法

'宣告
Public Function QueryBuildAgents ( _
    requestContext As TeamFoundationRequestContext, _
    agentSpecs As IList(Of BuildAgentSpec) _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryBuildAgents(
    TeamFoundationRequestContext requestContext,
    IList<BuildAgentSpec> agentSpecs
)

參數

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
傳回 TeamFoundationDataReader

.NET Framework 安全性

請參閱

參考

TeamFoundationBuildResourceService 類別

Microsoft.TeamFoundation.Build.Server 命名空間