共用方式為


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

Gets the builds that match the specified URIs.

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

Syntax

'Declaration
Function QueryBuildsByUri ( _
    buildUris As Uri(), _
    informationTypes As String(), _
    queryOptions As QueryOptions _
) As IBuildDetail()
IBuildDetail[] QueryBuildsByUri(
    Uri[] buildUris,
    string[] informationTypes,
    QueryOptions queryOptions
)
array<IBuildDetail^>^ QueryBuildsByUri(
    array<Uri^>^ buildUris, 
    array<String^>^ informationTypes, 
    QueryOptions queryOptions
)
abstract QueryBuildsByUri : 
        buildUris:Uri[] * 
        informationTypes:string[] * 
        queryOptions:QueryOptions -> IBuildDetail[] 
function QueryBuildsByUri(
    buildUris : Uri[], 
    informationTypes : String[], 
    queryOptions : QueryOptions
) : IBuildDetail[]

Parameters

  • buildUris
    Type: array<System.Uri[]

    The build URIs.

  • informationTypes
    Type: array<System.String[]

    The information types which should be retrieved. Valid types include the members of Microsoft.TeamFoundation.Build.Common.InformationTypes. Wildcards supported.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client.IBuildDetail[]
The query options.

Remarks

The builds matching the specified URIs. For unmatched URIs, corresponding indices will be null.

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueryBuildsByUri Overload

Microsoft.TeamFoundation.Build.Client Namespace