Share via


TeamFoundationBuildService.UpdateBuilds Method

Updates existing builds using the provided updates.

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

Syntax

'Declaration
Public Function UpdateBuilds ( _
    requestContext As TeamFoundationRequestContext, _
    updateOptions As IList(Of BuildUpdateOptions) _
) As List(Of BuildDetail)
public List<BuildDetail> UpdateBuilds(
    TeamFoundationRequestContext requestContext,
    IList<BuildUpdateOptions> updateOptions
)
public:
List<BuildDetail^>^ UpdateBuilds(
    TeamFoundationRequestContext^ requestContext, 
    IList<BuildUpdateOptions^>^ updateOptions
)
member UpdateBuilds : 
        requestContext:TeamFoundationRequestContext * 
        updateOptions:IList<BuildUpdateOptions> -> List<BuildDetail> 
public function UpdateBuilds(
    requestContext : TeamFoundationRequestContext, 
    updateOptions : IList<BuildUpdateOptions>
) : List<BuildDetail>

Parameters

Return Value

Type: System.Collections.Generic.List<BuildDetail>
A list of updated builds.

.NET Framework Security

  • [M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuilds] 

    The caller must have ViewBuilds permission for the target build definition(s).

  • [M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.UpdateBuildInformation] 

    The caller must have UpdateBuildInformation permission for the target build definition(s).

  • [M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuilds] 

    The caller must have [ViewBuilds] permission for the target build definition(s).

  • [M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.UpdateBuildInformation] 

    The caller must have [UpdateBuildInformation] permission for the target build definition(s).

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

See Also

Reference

TeamFoundationBuildService Class

Microsoft.TeamFoundation.Build.Server Namespace