TeamFoundationJobService.PauseJob Method (TeamFoundationJobDefinition)
Pauses the specified job.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'宣告
Public Function PauseJob ( _
job As TeamFoundationJobDefinition _
) As Boolean
public bool PauseJob(
TeamFoundationJobDefinition job
)
public:
virtual bool PauseJob(
TeamFoundationJobDefinition^ job
) sealed
abstract PauseJob :
job:TeamFoundationJobDefinition -> bool
override PauseJob :
job:TeamFoundationJobDefinition -> bool
public final function PauseJob(
job : TeamFoundationJobDefinition
) : boolean
Parameters
- job
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobDefinition
A TeamFoundationJobDefinition object that identifies the job to pause.
Return Value
Type: System.Boolean
True if the specified job was paused; otherwise, false.
Implements
ITeamFoundationJobService.PauseJob(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.