Queries for a set of build controllers given a query specification. The query specification can include wildcard characters for both the controller name and the computer name.
Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryBuildControllers ( _
    controllerSpecs As BuildControllerSpec() _
) As StreamingCollection(Of BuildControllerQueryResult)
[WebMethodAttribute]
public StreamingCollection<BuildControllerQueryResult> QueryBuildControllers(
    BuildControllerSpec[] controllerSpecs
)
[WebMethodAttribute]
public:
StreamingCollection<BuildControllerQueryResult^>^ QueryBuildControllers(
    array<BuildControllerSpec^>^ controllerSpecs
)
[<WebMethodAttribute>]
member QueryBuildControllers : 
        controllerSpecs:BuildControllerSpec[] -> StreamingCollection<BuildControllerQueryResult> 
public function QueryBuildControllers(
    controllerSpecs : BuildControllerSpec[]
) : StreamingCollection<BuildControllerQueryResult>
Parameters
- controllerSpecs 
 Type: array<Microsoft.TeamFoundation.Build.Server.BuildControllerSpec[]- The specifications for the query. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<BuildControllerQueryResult>
A list of build controllers that matched the specified inputs.
.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.