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
specs
Type: array<Microsoft.TeamFoundation.Build.Server.BuildDetailSpec[]An array of BuildDetailSpec objects describing the desired queries.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<BuildQueryResult>
A list of BuildQueryResult objects the same length as the input array.
.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.