Repository.Task.UpdateCorrectiveTask

Updates the specified task in the repository.

Syntax

 * UpdateCorrectiveTask( task cCorrectiveTask )

Parameters
 * task: The cCorrectiveTask to update.

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