共用方式為


TeamFoundationJobService.StopJob Method (Guid)

Stops the specified job.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'宣告
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

See Also

Reference

TeamFoundationJobService Class

StopJob Overload

Microsoft.TeamFoundation.Framework.Client Namespace