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
buildAgentSpecs
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildAgentSpec[]The build agent specifications.
Return Value
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildAgentQueryResult[]
The build agent query results for the specified specifications.
.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.