TeamFoundationJobService.StopJob Method (TeamFoundationJobDefinition)
Stops the specified job.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'宣告
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.TeamFoundationJobDefinition
The 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.