Scheduler (Object)

Member of:

Events collections

Description:

Enables the execution of a Scheduler document event in the 8.0 client environment.

Note:

The ExecuteOnStartup (Property), ExecuteOnShutDown (Property), ExecuteOnPreProcess (Property), and ExecuteOnPostProcess (Property) under the Scheduler object must have a default setting of “False” if the document was created before version 8.0.

Example:

This example shows how to disable all document events when running in the Scheduler environment:

Documents["Sample1.bqy"].Events["Scheduler"].ExecuteOnPostProcess=false
Documents["Sample1.bqy"].Events["Scheduler"].ExecuteOnPreProcess=false
Documents["Sample1.bqy"].Events["Screduler"].ExecuteOnShutDown=false
Documents["Sample1.bqy"].Events["scheduler"].ExecuteOnStartUp=false

Properties:

Read-write: ExecuteOnPostProcess as Boolean, ExecuteOnPreProcess as Boolean, ExecuteOnShutDown as Boolean, ExecuteOnStartUp as Boolean.

Read-only: Name as String