Condividi tramite


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
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
Public Function QueryBuildGroups ( _
    specs As BuildGroupItemSpec2010() _
) As List(Of BuildGroupQueryResult)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public List<BuildGroupQueryResult> QueryBuildGroups(
    BuildGroupItemSpec2010[] specs
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
List<BuildGroupQueryResult^>^ QueryBuildGroups(
    array<BuildGroupItemSpec2010^>^ specs
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
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