ResetObjectStats Method Example

The following example resets the statistics for all Event objects in the ScheduleTestSchedule.

TestSchedule.ResetObjectStats 2

The following example resets the statistics for the Timer MyTimer in the Schedule TestSchedule.

TestSchedule.ResetObjectStats "MyTimer"

The following example resets the statistics for the Timer objects TestTimer, TestTimer1, TestTimer2 in the Schedule TestSchedule.

Dim objects(2) As Variant

objects(0) = "TestTimer"

objects(1) = "TestTimer1"

objects(2) = "TestTimer2"

TestSchedule.ResetObjectStats objects