다음을 통해 공유


AdministrationWebService4.QueryBuildAgents Method

Queries the list of build agents that match the provided specifications. The output list result sets will match up to the index of the spec that produced the result.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryBuildAgents ( _
    agentSpecs As BuildAgentSpec() _
) As StreamingCollection(Of BuildAgentQueryResult)
[WebMethodAttribute]
public StreamingCollection<BuildAgentQueryResult> QueryBuildAgents(
    BuildAgentSpec[] agentSpecs
)
[WebMethodAttribute]
public:
StreamingCollection<BuildAgentQueryResult^>^ QueryBuildAgents(
    array<BuildAgentSpec^>^ agentSpecs
)
[<WebMethodAttribute>]
member QueryBuildAgents : 
        agentSpecs:BuildAgentSpec[] -> StreamingCollection<BuildAgentQueryResult> 
public function QueryBuildAgents(
    agentSpecs : BuildAgentSpec[]
) : StreamingCollection<BuildAgentQueryResult>

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<BuildAgentQueryResult>
A list of build agent results.

.NET Framework Security

See Also

Reference

AdministrationWebService4 Class

Microsoft.TeamFoundation.Build.Server Namespace