This documentation is archived and is not being maintained.

IBuildServer.QueryBuildAgents Method (IBuildAgentSpec)

Gets the build agent query results for the given build agent specification.

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

IBuildAgentQueryResult QueryBuildAgents(
	IBuildAgentSpec buildAgentSpec
)

Parameters

buildAgentSpec
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentSpec

The build agent specification.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentQueryResult
Returns the build agent query results for the given specification.

Show: