Repository.Task.UpdateCorrectiveTask

Updates the specified task in the repository.

Syntax

 * UpdateCorrectiveTask( task cCorrectiveTask )
 * UpdateScheduledTask( task cScheduledTask )

Parameters
 * task: The cCorrectiveTask or cScheduledTask to update.

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") Dim ListOfCorrectiveTasks As cCorrectiveTask ListOfCorrectiveTasks = MyRepository.Task.GetAllCorrectiveTasks Dim SuccessUpdateCorrectiveTask As Boolean = False SuccessUpdateCorrectiveTask = MyRepository.Task.UpdateCorrectiveTask(ListOfCorrectiveTasks(0))