共用方式為


IBuildServer.QueryBuilds Method (IBuildDefinitionSpec)

Gets all builds for a build definition specification.

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

Syntax

'Declaration
Function QueryBuilds ( _
    definitionSpec As IBuildDefinitionSpec _
) As IBuildDetail()
IBuildDetail[] QueryBuilds(
    IBuildDefinitionSpec definitionSpec
)
array<IBuildDetail^>^ QueryBuilds(
    IBuildDefinitionSpec^ definitionSpec
)
abstract QueryBuilds : 
        definitionSpec:IBuildDefinitionSpec -> IBuildDetail[] 
function QueryBuilds(
    definitionSpec : IBuildDefinitionSpec
) : IBuildDetail[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client.IBuildDetail[]
The builds for the specified build definition specification.

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueryBuilds Overload

Microsoft.TeamFoundation.Build.Client Namespace