PdcSchedulerTasks.Open

From External Bemet Wiki
Revision as of 11:13, 31 July 2013 by Mike (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

Open(aID as long) as PdcSchedulerTask

Description

Notes

This property opens a task with the use of it's ID.

Code example

This code example opens a schedule with ID 1 and returns its schedule name in a msgbox.

Sub sGetSchedule
dim intScheduleID
dim objScheduleTask

  intScheduleID = 1
  set objScheduleTask = pdc.SchedulerTasks.Open(intScheduleID)

  msgbox objScheduleTask.Name
End Sub

Availability

Available since January 2011 (from version 4.2).