Repository.Task.AddCorrectiveTask

Syntax

 * AddCorrectiveTask( task cCorrectiveTask )

Parameters
 * task: The cCorrectiveTask to add.

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") MyRepository.Project.SetCurrentProject(0) Dim newCorrectiveTask As New cCorrectiveTask("NewCorrectiveTask1") Dim SuccessAddCorrectiveTask As Boolean = False SuccessAddCorrectiveTask = MyRepository.Task.AddCorrectiveTask(newCorrectiveTask)