BuildService.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)


<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
<WebMethodAttribute> _
Public Function QueryBuildDefinitionsByUri ( _
    uris As String() _
) As BuildGroupQueryResult
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public BuildGroupQueryResult QueryBuildDefinitionsByUri(
    string[] uris
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
BuildGroupQueryResult^ QueryBuildDefinitionsByUri(
    array<String^>^ uris
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member QueryBuildDefinitionsByUri : 
        uris:string[] -> BuildGroupQueryResult
public function QueryBuildDefinitionsByUri(
    uris : String[]
) : BuildGroupQueryResult


  • uris
    Type: array<System.String[]

    A list of valid build definition URI strings.

Return Value

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

.NET Framework Security

See Also


BuildService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace