Repository.Task.UpdateCorrectiveTask

Syntax

 * UpdateCorrectiveTask( task cCorrectiveTask )

Parameters
 * task: The cCorrectiveTask 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))