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