Share via


BuildWebService.QueryBuilds Method

Given an array of BuildDetailSpec objects, this web method will return a result list of BuildQueryResult objects the same size as the input array. If no matches were found, then the BuildQueryResult object will just have empty lists.

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

Syntax

'Declaration
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
Public Function QueryBuilds ( _
    specs As BuildDetailSpec2010() _
) As StreamingCollection(Of BuildQueryResult2010)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public StreamingCollection<BuildQueryResult2010> QueryBuilds(
    BuildDetailSpec2010[] specs
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
StreamingCollection<BuildQueryResult2010^>^ QueryBuilds(
    array<BuildDetailSpec2010^>^ specs
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member QueryBuilds : 
        specs:BuildDetailSpec2010[] -> StreamingCollection<BuildQueryResult2010> 
public function QueryBuilds(
    specs : BuildDetailSpec2010[]
) : StreamingCollection<BuildQueryResult2010>

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<BuildQueryResult2010>
A list of BuildQueryResult objects the same length as the input array.

.NET Framework Security

See Also

Reference

BuildWebService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace