ITeamFoundationJobService.StopJob Method (Guid)
Stops the specified in-progress job.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function StopJob ( _
jobId As Guid _
) As Boolean
bool StopJob(
Guid jobId
)
bool StopJob(
Guid jobId
)
abstract StopJob :
jobId:Guid -> bool
function StopJob(
jobId : Guid
) : boolean
Parameters
jobId
Type: System.GuidThe job ID 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.