TeamFoundationJobService.UpdateJobs Method (IEnumerable<TeamFoundationJobDefinition>, IEnumerable<TeamFoundationJobDefinition>)
Refreshes the reported status of the specified jobs and deletes the specified jobs.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaración
Public Sub UpdateJobs ( _
jobsToDelete As IEnumerable(Of TeamFoundationJobDefinition), _
jobsToUpdate As IEnumerable(Of TeamFoundationJobDefinition) _
)
public void UpdateJobs(
IEnumerable<TeamFoundationJobDefinition> jobsToDelete,
IEnumerable<TeamFoundationJobDefinition> jobsToUpdate
)
public:
virtual void UpdateJobs(
IEnumerable<TeamFoundationJobDefinition^>^ jobsToDelete,
IEnumerable<TeamFoundationJobDefinition^>^ jobsToUpdate
) sealed
abstract UpdateJobs :
jobsToDelete:IEnumerable<TeamFoundationJobDefinition> *
jobsToUpdate:IEnumerable<TeamFoundationJobDefinition> -> unit
override UpdateJobs :
jobsToDelete:IEnumerable<TeamFoundationJobDefinition> *
jobsToUpdate:IEnumerable<TeamFoundationJobDefinition> -> unit
public final function UpdateJobs(
jobsToDelete : IEnumerable<TeamFoundationJobDefinition>,
jobsToUpdate : IEnumerable<TeamFoundationJobDefinition>
)
Parameters
- jobsToDelete
Type: System.Collections.Generic.IEnumerable<TeamFoundationJobDefinition>
An enumerable collection of TeamFoundationJobDefinition objects that represent the jobs to delete.
- jobsToUpdate
Type: System.Collections.Generic.IEnumerable<TeamFoundationJobDefinition>
An enumerable collection of TeamFoundationJobDefinition objects that represent the jobs for which to get the current status.
Implements
.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.