Stops the specified job.
Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function StopJob ( _
    jobId As Guid _
) As Boolean
public bool StopJob(
    Guid jobId
)
public:
virtual bool StopJob(
    Guid jobId
) sealed
abstract StopJob : 
        jobId:Guid -> bool  
override StopJob : 
        jobId:Guid -> bool
public final function StopJob(
    jobId : Guid
) : boolean
Parameters
- jobId 
 Type: System.Guid- The Guid object that represents the job ID of the job to stop. 
Return Value
Type: System.Boolean
True if the specified job was stopped; otherwise, false.
Implements
ITeamFoundationJobService.StopJob(Guid)
.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.