共用方式為


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

Gets a single build.

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 _
) As IBuildDetail
IBuildDetail GetBuild(
    Uri buildUri,
    string[] informationTypes,
    QueryOptions queryOptions
)
IBuildDetail^ GetBuild(
    Uri^ buildUri, 
    array<String^>^ informationTypes, 
    QueryOptions queryOptions
)
abstract GetBuild : 
        buildUri:Uri * 
        informationTypes:string[] * 
        queryOptions:QueryOptions -> IBuildDetail
function GetBuild(
    buildUri : Uri, 
    informationTypes : String[], 
    queryOptions : QueryOptions
) : IBuildDetail

Parameters

  • informationTypes
    Type: array<System.String[]

    The information types that should be retrieved.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
Returns the build with the given URI.

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetBuild Overload

Microsoft.TeamFoundation.Build.Client Namespace