Condividi tramite


BuildService.UpdateBuilds Method

Updates build details with the provided information. The user must have the AdministerBuild permission on the team project that contains the build in order to perform this action.

Namespace:  Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function UpdateBuilds ( _
    updateOptions As BuildUpdateOptions2010() _
) As List(Of BuildDetail2010)
[WebMethodAttribute]
public List<BuildDetail2010> UpdateBuilds(
    BuildUpdateOptions2010[] updateOptions
)
[WebMethodAttribute]
public:
List<BuildDetail2010^>^ UpdateBuilds(
    array<BuildUpdateOptions2010^>^ updateOptions
)
[<WebMethodAttribute>]
member UpdateBuilds : 
        updateOptions:BuildUpdateOptions2010[] -> List<BuildDetail2010> 
public function UpdateBuilds(
    updateOptions : BuildUpdateOptions2010[]
) : List<BuildDetail2010>

Parameters

Return Value

Type: System.Collections.Generic.List<BuildDetail2010>
A list of build detail objects that were successfully updated.

.NET Framework Security

See Also

Reference

BuildService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace