Repository.Task.AddScheduledTask

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

Syntax
object.Task.AddScheduledTask(task)

where object is a variable that represents a Repository object.

Example
VBA MyRepository Repository NewTask cScheduledTask NewTask.Name = MyRepository.Project.SetCurrentProject(1) MyRepository.Task.AddScheduledTask(NewTask)

VB.NET MyRepository Repository NewTask cScheduledTask MyRepository.Project.SetCurrentProject(1) MyRepository.Task.AddScheduledTask(NewTask)