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
- 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
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace