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
specs
Type: array<Microsoft.TeamFoundation.Build.Server.Compatibility.BuildDetailSpec2010[]An array of BuildDetailSpec objects describing the desired queries.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<BuildQueryResult2010>
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.
See Also
Reference
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace