Partager via


IBuildServer.QueryBuildDefinitionsByUri Method (array<Uri[], array<String , QueryOptions)

Gets the build definitions that match the given URIs. The specified query options determine the amount of data that is retrieved in the query.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Function QueryBuildDefinitionsByUri ( _
    buildDefinitionUris As Uri(), _
    propertyNameFilters As String(), _
    options As QueryOptions _
) As IBuildDefinition()
IBuildDefinition[] QueryBuildDefinitionsByUri(
    Uri[] buildDefinitionUris,
    string[] propertyNameFilters,
    QueryOptions options
)
array<IBuildDefinition^>^ QueryBuildDefinitionsByUri(
    array<Uri^>^ buildDefinitionUris, 
    array<String^>^ propertyNameFilters, 
    QueryOptions options
)
abstract QueryBuildDefinitionsByUri : 
        buildDefinitionUris:Uri[] * 
        propertyNameFilters:string[] * 
        options:QueryOptions -> IBuildDefinition[] 
function QueryBuildDefinitionsByUri(
    buildDefinitionUris : Uri[], 
    propertyNameFilters : String[], 
    options : QueryOptions
) : IBuildDefinition[]

Parameters

  • buildDefinitionUris
    Type: array<System.Uri[]

    The build definition URIs.

  • propertyNameFilters
    Type: array<System.String[]

    Property names to query

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client.IBuildDefinition[]
The build definitions. For unmatched URIs, corresponding indices will be null.

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueryBuildDefinitionsByUri Overload

Microsoft.TeamFoundation.Build.Client Namespace