Condividi tramite


BuildService.StopBuilds Method

Stops in-progress builds with the provided URIs. If a build has already been completed, it will be ignored and considered a success. The user performing this call must have the AdministerBuild permission to all team projects for which stops are being made.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub StopBuilds ( _
    uris As String() _
)
[WebMethodAttribute]
public void StopBuilds(
    string[] uris
)
[WebMethodAttribute]
public:
void StopBuilds(
    array<String^>^ uris
)
[<WebMethodAttribute>]
member StopBuilds : 
        uris:string[] -> unit
public function StopBuilds(
    uris : String[]
)

Parameters

  • uris
    Type: array<System.String[]

    The URIs of builds that should be stopped.

.NET Framework Security

See Also

Reference

BuildService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace