This documentation is archived and is not being maintained.
IBuildServer.QueryBuildAgents Method (IBuildAgentSpec[])
Visual Studio 2013
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)
function QueryBuildAgents(
buildAgentSpecs : IBuildAgentSpec[]
) : IBuildAgentQueryResult[]
Parameters
- 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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: