Repository.Task.AddCorrectiveTask

Saves a new cCorrectiveTask object to the Synthesis repository. Returns a Boolean value; when true, indicates that the task now exists in the repository.

Syntax
object.Task.AddCorrectiveTask(task)

where object is a variable that represents a Repository object.

Example
VBA MyRepository Repository NewTask cCorrectiveTask NewTask.Name = MyRepository.Project.SetCurrentProject(1) MyRepository.Task.AddCorrectiveTask(NewTask)

VB.NET MyRepository Repository NewTask cCorrectiveTask MyRepository.Project.SetCurrentProject(1) MyRepository.Task.AddCorrectiveTask(NewTask)