ITeamFoundationJobService.PauseJob Method (TeamFoundationJobDefinition)
Pauses the job that has the specified job definition.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function PauseJob ( _
job As TeamFoundationJobDefinition _
) As Boolean
bool PauseJob(
TeamFoundationJobDefinition job
)
bool PauseJob(
TeamFoundationJobDefinition^ job
)
abstract PauseJob :
job:TeamFoundationJobDefinition -> bool
function PauseJob(
job : TeamFoundationJobDefinition
) : boolean
Parameters
job
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobDefinitionThe job definition of the job to pause.
Return Value
Type: System.Boolean
True if the job was successfully paused; 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.