This documentation is archived and is not being maintained.

IBuildServer::QueryBuildAgents Method (array<IBuildAgentSpec>)

Gets the build agent query results for the specified build agent specifications.

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

array<IBuildAgentQueryResult^>^ QueryBuildAgents(
	array<IBuildAgentSpec^>^ buildAgentSpecs
)

Parameters

buildAgentSpecs
Type: array<Microsoft.TeamFoundation.Build.Client::IBuildAgentSpec>

The build agent specifications.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client::IBuildAgentQueryResult>
The build agent query results for the specified specifications.

Show: