Compartilhar via


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

Gets a single build.

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

Syntax

'Declaração
Function GetBuild ( _
    buildDefinitionSpec As IBuildDefinitionSpec, _
    buildNumber As String, _
    informationTypes As String(), _
    queryOptions As QueryOptions _
) As IBuildDetail
IBuildDetail GetBuild(
    IBuildDefinitionSpec buildDefinitionSpec,
    string buildNumber,
    string[] informationTypes,
    QueryOptions queryOptions
)
IBuildDetail^ GetBuild(
    IBuildDefinitionSpec^ buildDefinitionSpec, 
    String^ buildNumber, 
    array<String^>^ informationTypes, 
    QueryOptions queryOptions
)
abstract GetBuild : 
        buildDefinitionSpec:IBuildDefinitionSpec * 
        buildNumber:string * 
        informationTypes:string[] * 
        queryOptions:QueryOptions -> IBuildDetail 
function GetBuild(
    buildDefinitionSpec : IBuildDefinitionSpec, 
    buildNumber : String, 
    informationTypes : String[], 
    queryOptions : QueryOptions
) : IBuildDetail

Parameters

  • informationTypes
    Type: array<System.String[]
    The information type that should be retrieved.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
Returns the build with the given build definition path and number.

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetBuild Overload

Microsoft.TeamFoundation.Build.Client Namespace