Share via


TeamFoundationBuildResourceService.QueryBuildAgents Method

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

Syntax

'Declaration
Public Function QueryBuildAgents ( _
    requestContext As TeamFoundationRequestContext, _
    agentSpecs As IList(Of BuildAgentSpec) _
) As List(Of BuildAgentQueryResult)
public List<BuildAgentQueryResult> QueryBuildAgents(
    TeamFoundationRequestContext requestContext,
    IList<BuildAgentSpec> agentSpecs
)
public:
List<BuildAgentQueryResult^>^ QueryBuildAgents(
    TeamFoundationRequestContext^ requestContext, 
    IList<BuildAgentSpec^>^ agentSpecs
)
member QueryBuildAgents : 
        requestContext:TeamFoundationRequestContext * 
        agentSpecs:IList<BuildAgentSpec> -> List<BuildAgentQueryResult> 
public function QueryBuildAgents(
    requestContext : TeamFoundationRequestContext, 
    agentSpecs : IList<BuildAgentSpec>
) : List<BuildAgentQueryResult>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

TeamFoundationBuildResourceService Class

Microsoft.TeamFoundation.Build.Server Namespace