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)

abstract 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.

Show: