Share via


IBuildServer.QueryBuildAgents Method (IBuildAgentSpec)

Gets a single build agent query result for a specified build agent specification.

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

Syntax

'Declaration
Function QueryBuildAgents ( _
    buildAgentSpec As IBuildAgentSpec _
) As IBuildAgentQueryResult
IBuildAgentQueryResult QueryBuildAgents(
    IBuildAgentSpec buildAgentSpec
)
IBuildAgentQueryResult^ QueryBuildAgents(
    IBuildAgentSpec^ buildAgentSpec
)
abstract QueryBuildAgents : 
        buildAgentSpec:IBuildAgentSpec -> IBuildAgentQueryResult
function QueryBuildAgents(
    buildAgentSpec : IBuildAgentSpec
) : IBuildAgentQueryResult

Parameters

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentQueryResult
The build agent query result for the specified specification.

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueryBuildAgents Overload

Microsoft.TeamFoundation.Build.Client Namespace