Repository.Task.UpdateScheduledTask

Updates the specified task in the repository.

Syntax

 * UpdateScheduledTask( task cScheduledTask )

Parameters
 * task: The cScheduledTask to update.

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") MyRepository.Project.SetCurrentProject(0) Dim ListOfTasks As cScheduledTask ListOfTasks = MyRepository.Task.GetAllScheduledTasks Dim Success As Boolean Success = MyRepository.Task.UpdateScheduledTask(ListOfTasks(0))