Partilhar via


IBuildServer.GetBuild Method (Uri, array<String , QueryOptions, QueryDeletedOption)

Gets a single build by Uri.

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

Syntax

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

Parameters

  • buildUri
    Type: System.Uri

    The Uri of the build to obtain.

  • informationTypes
    Type: array<System.String[]

    The information types which should be retrieved.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
The build with the given Uri.

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetBuild Overload

Microsoft.TeamFoundation.Build.Client Namespace