Поделиться через


BuildWebService4.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 are found, then the BuildQueryResult object will just have empty lists.

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

BuildWebService4 Class

Microsoft.TeamFoundation.Build.Server Namespace