UpdateBackgroundObject Method Example
The following example creates the object TimerTest in the ScheduleTestSchedule and transfers it to the corresponding schedule running in the background FixBackgroundServer application.
Dim TestSchedule As Object
Dim iTimer As Object
Set TestSchedule = System.FindObject("TestSchedule")
Set iTimer = TestSchedule.BuildObject("FixTimer")
iTimer.Name = "TimerTest"
iTimer.TriggerType = 1
iTimer.Interval = 2000
TestSchedule.UpdateBackgroundObject "TimerTest", bkAdd, bkRun