Repository.Task.UpdateCorrectiveTask

Updates the specified task in the repository.

Syntax

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

Parameters
 * task: The cCorrectiveTask or cScheduledTask to update.

Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")

Dim ListOfCorrectiveTasks As cCorrectiveTask ListOfCorrectiveTasks = MyRepository.GetAllCorrectiveTasks

Dim SuccessUpdateCorrectiveTask As Boolean = False SuccessUpdateCorrectiveTask = MyRepository.UpdateCorrectiveTask(ListOfCorrectiveTasks(0))