This documentation is archived and is not being maintained.

IBuildServer.StopBuilds Method (IBuildDetail[])

Stops the provided builds. If a build is not currently in progress then no attempt is made to stop the build and no exception is thrown. Builds that no longer exist on the server cause an exception to be thrown.

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

void StopBuilds(
	IBuildDetail[] builds
)

Parameters

builds
Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail[]

An array of the builds to be stopped.

Show: