IBuildServer.QueryBuilds Method (String, String)

Gets all builds for a team project and definition.

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

Syntax

'Declaration
Function QueryBuilds ( _
    teamProject As String, _
    definitionName As String _
) As IBuildDetail()
IBuildDetail[] QueryBuilds(
    string teamProject,
    string definitionName
)
array<IBuildDetail^>^ QueryBuilds(
    String^ teamProject, 
    String^ definitionName
)
abstract QueryBuilds : 
        teamProject:string * 
        definitionName:string -> IBuildDetail[] 
function QueryBuilds(
    teamProject : String, 
    definitionName : String
) : IBuildDetail[]

Parameters

  • teamProject
    Type: System.String

    The team project for which builds are retrieved.

  • definitionName
    Type: System.String

    The definition for which builds are retrieved.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client.IBuildDetail[]
The builds for the specified team project and definition.

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueryBuilds Overload

Microsoft.TeamFoundation.Build.Client Namespace