ITeamFoundationJobService.StopJob Method (TeamFoundationJobDefinition)
Stops the specified in-progress job.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'宣告
Function StopJob ( _
job As TeamFoundationJobDefinition _
) As Boolean
bool StopJob(
TeamFoundationJobDefinition job
)
bool StopJob(
TeamFoundationJobDefinition^ job
)
abstract StopJob :
job:TeamFoundationJobDefinition -> bool
function StopJob(
job : TeamFoundationJobDefinition
) : boolean
Parameters
- job
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobDefinition
The job definition of the job to stop.
Return Value
Type: System.Boolean
True if the specified job was stopped; otherwise, false.
.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.