Share via


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

Parameters

  • uris
    Type: array<System.String[]

    A list of valid build definition URI strings.

Return Value

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

.NET Framework Security

See Also

Reference

BuildWebService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace