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)

Syntax

'Declaration
Function QueryBuildAgents ( _
    buildAgentSpecs As IBuildAgentSpec() _
) As IBuildAgentQueryResult()
IBuildAgentQueryResult[] QueryBuildAgents(
    IBuildAgentSpec[] buildAgentSpecs
)
array<IBuildAgentQueryResult^>^ QueryBuildAgents(
    array<IBuildAgentSpec^>^ buildAgentSpecs
)
abstract QueryBuildAgents : 
        buildAgentSpecs:IBuildAgentSpec[] -> IBuildAgentQueryResult[] 
function QueryBuildAgents(
    buildAgentSpecs : IBuildAgentSpec[]
) : IBuildAgentQueryResult[]

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueryBuildAgents Overload

Microsoft.TeamFoundation.Build.Client Namespace