Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IBuildServer.QueryBuildAgents Method (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)

IBuildAgentQueryResult[] QueryBuildAgents(
	IBuildAgentSpec[] buildAgentSpecs


Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentSpec[]

The build agent specifications.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentQueryResult[]
The build agent query results for the specified specifications.

© 2015 Microsoft