Repository.Task.AddScheduledTask

Syntax

 * AddScheduledTask( taskcScheduledTask )

Parameters
 * task: The cScheduledTask to add.

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") MyRepository.Project.SetCurrentProject(0) Dim newScheduledTask As New cScheduledTask("NewScheduledTask1") Dim SuccessAddScheduledTask As Boolean = False SuccessAddScheduledTask = MyRepository.Task.AddScheduledTask(newScheduledTask)