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
buildAgentSpec
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentSpecThe build agent specification.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentQueryResult
The build agent query result for the specified specification.
.NET Framework Security
- 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.