Partager via


BuildWebService4.QueryBuildDefinitionsByUri Method

Queries for build definitions given a set of URIs. The server will return a definition for each valid URI in the array.

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 QueryBuildDefinitionsByUri ( _
    uris As String(), _
    propertyNameFilters As String(), _
    options As QueryOptions _
) As BuildDefinitionQueryResult
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public BuildDefinitionQueryResult QueryBuildDefinitionsByUri(
    string[] uris,
    string[] propertyNameFilters,
    QueryOptions options
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
BuildDefinitionQueryResult^ QueryBuildDefinitionsByUri(
    array<String^>^ uris, 
    array<String^>^ propertyNameFilters, 
    QueryOptions options
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member QueryBuildDefinitionsByUri : 
        uris:string[] * 
        propertyNameFilters:string[] * 
        options:QueryOptions -> BuildDefinitionQueryResult
public function QueryBuildDefinitionsByUri(
    uris : String[], 
    propertyNameFilters : String[], 
    options : QueryOptions
) : BuildDefinitionQueryResult

Parameters

  • uris
    Type: array<System.String[]

    A list of valid build definition URI strings.

Return Value

Type: Microsoft.TeamFoundation.Build.Server.BuildDefinitionQueryResult
A list of BuildDefinitionQueryResult objects; one for each input URI.

.NET Framework Security

See Also

Reference

BuildWebService4 Class

Microsoft.TeamFoundation.Build.Server Namespace