Share via


BuildWebService.QueryBuildDefinitions Method

Queries the server for items that match the input BuildItemSpec objects. This method can 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 QueryBuildDefinitions ( _
    specs As BuildDefinitionSpec2010() _
) As List(Of BuildDefinitionQueryResult2010)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public List<BuildDefinitionQueryResult2010> QueryBuildDefinitions(
    BuildDefinitionSpec2010[] specs
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
List<BuildDefinitionQueryResult2010^>^ QueryBuildDefinitions(
    array<BuildDefinitionSpec2010^>^ specs
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member QueryBuildDefinitions : 
        specs:BuildDefinitionSpec2010[] -> List<BuildDefinitionQueryResult2010> 
public function QueryBuildDefinitions(
    specs : BuildDefinitionSpec2010[]
) : List<BuildDefinitionQueryResult2010>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

BuildWebService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace