Repository.Task.AddScheduledTask

Adds the scheduled task

Parameters
task

Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")

Dim newScheduledTask As New cScheduledTask("NewScheduledTask1")

Dim SuccessAddScheduledTask As Boolean = False SuccessAddScheduledTask = MyRepository.AddScheduledTask(newScheduledTask)