Partager via


ITeamFoundationJobService Interface

Interface for a job service of Visual Studio Team Foundation Server.

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

Syntax

'Déclaration
Public Interface ITeamFoundationJobService
public interface ITeamFoundationJobService
public interface class ITeamFoundationJobService
type ITeamFoundationJobService =  interface end
public interface ITeamFoundationJobService

The ITeamFoundationJobService type exposes the following members.

Methods

  Name Description
Public method DeleteJob(Guid) Deletes the job that has the specified job ID.
Public method DeleteJob(TeamFoundationJobDefinition) Deletes the job with the specified job definition.
Public method DeleteJobs(IEnumerable<Guid>) Deletes the jobs that have the specified job IDs.
Public method DeleteJobs(IEnumerable<TeamFoundationJobDefinition>) Deletes the jobs that have the specified job definitions.
Public method PauseJob(Guid) Pauses the job that has the specified job ID.
Public method PauseJob(TeamFoundationJobDefinition) Pauses the job that has the specified job definition.
Public method QueryJobHistory(IEnumerable<Guid>) Gets a list of history entries for the specified job IDs.
Public method QueryJobHistory(IEnumerable<TeamFoundationJobDefinition>) Gets a list of history entries for the specified job definitions.
Public method QueryJobs() Gets an enumerable collection of all job definitions in this service.
Public method QueryJobs(IEnumerable<Guid>) Gets an enumerable collection of job definitions for the specified job IDs.
Public method QueryLatestJobHistory(IEnumerable<Guid>) Gets a list of the latest history entries for the specified job IDs.
Public method QueryLatestJobHistory(Guid) Gets the latest history entry for the specified job ID.
Public method QueryLatestJobHistory(TeamFoundationJobDefinition) Gets a list of the latest history entry for the specified job.
Public method QueryLatestJobHistory(IEnumerable<TeamFoundationJobDefinition>) Gets a list of the latest history entries for the specified jobs.
Public method QueueDelayedJob(Guid) Schedules a job to be executed in the near future.
Public method QueueDelayedJob(TeamFoundationJobDefinition) Schedules the specified job to be executed in the near future.
Public method QueueDelayedJob(Guid, Int32) Schedules a job to be executed in the near future.
Public method QueueDelayedJob(TeamFoundationJobDefinition, Int32) Schedules a job to be executed in the near future.
Public method QueueDelayedJobs(IEnumerable<Guid>) Schedules the specified enumerable collection of jobs to be executed in the near future.
Public method QueueDelayedJobs(IEnumerable<TeamFoundationJobDefinition>) Schedules the specified enumerable collection of jobs to be executed in the near future.
Public method QueueDelayedJobs(IEnumerable<Guid>, Int32) Schedules the specified enumerable collection of jobs to be executed in the near future.
Public method QueueDelayedJobs(IEnumerable<TeamFoundationJobDefinition>, Int32) Schedules the specified enumerable collection of jobs to be executed in the near future.
Public method QueueJobNow(Guid, Boolean) Puts the specified job in the queue and starts it immediately.
Public method QueueJobNow(TeamFoundationJobDefinition, Boolean) Puts the specified job in the queue and starts it immediately.
Public method QueueJobsNow(IEnumerable<Guid>, Boolean) Puts the specified jobs in the queue and starts them immediately.
Public method QueueJobsNow(IEnumerable<TeamFoundationJobDefinition>, Boolean) Puts the specified jobs in the queue and starts them immediately.
Public method QueueOneTimeJob Puts a one-time job in the queue and starts it immediately.
Public method ResumeJob(Guid) Resumes the specified paused job.
Public method ResumeJob(TeamFoundationJobDefinition) Resumes the specified paused job.
Public method StopJob(Guid) Stops the specified in-progress job.
Public method StopJob(TeamFoundationJobDefinition) Stops the specified in-progress job.
Public method UpdateJob Adds or updates the specified job definition.
Public method UpdateJobs(IEnumerable<TeamFoundationJobDefinition>) Adds or updates the specified job definitions.
Public method UpdateJobs(IEnumerable<Guid>, IEnumerable<TeamFoundationJobDefinition>) Deletes, adds, or updates the specified jobs.
Public method UpdateJobs(IEnumerable<TeamFoundationJobDefinition>, IEnumerable<TeamFoundationJobDefinition>) Deletes, adds, or updates the specified job definitions.

Top

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace