BuildService.QueryBuildGroups Method

Queries the server for items that match the input [BuildItemSpec] objects. This method may be used to discover items by means of the path if the URI is unknown.

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

Syntax

'Declaration
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
<WebMethodAttribute> _
Public Function QueryBuildGroups ( _
    specs As BuildGroupItemSpec2010() _
) As List(Of BuildGroupQueryResult)
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
[WebMethodAttribute]
public List<BuildGroupQueryResult> QueryBuildGroups(
    BuildGroupItemSpec2010[] specs
)
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
[WebMethodAttribute]
public:
List<BuildGroupQueryResult^>^ QueryBuildGroups(
    array<BuildGroupItemSpec2010^>^ specs
)
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
[<WebMethodAttribute>]
member QueryBuildGroups : 
        specs:BuildGroupItemSpec2010[] -> List<BuildGroupQueryResult> 
public function QueryBuildGroups(
    specs : BuildGroupItemSpec2010[]
) : List<BuildGroupQueryResult>

Parameters

Return Value

Type: System.Collections.Generic.List<BuildGroupQueryResult>
A list of [BuildItemQueryResult] objects, one for each input [BuildItemSpec].

.NET Framework Security

See Also

Reference

BuildService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace