Programmatic Identifier: Push.Task.1
The Push.Task.1 COM class, hereafter referred to as the Task class, defines an Automation-compliant object that can be used to set up tasks with the Microsoft® Windows NT® Scheduled Tasks for the purpose of automatic refresh cycles of channel content. Once the task has been registered, Project.Refresh will be called in intervals specified within the object. The starting date can also be specified.
The Task class exposes a dispinterface to the methods listed below. Therefore, all invocations must proceed through the IDispatch interface.
Name | Description |
Delete | Deletes a task from NT task scheduler. |
IsScheduled | Returns whether the task defined by the object is scheduled with the Windows NT task scheduler. |
Update | Adds or updates the task defined by the object with the Windows NT task scheduler. |
Name | Description |
Accountname | Holds the string specifying the account to use when setting the task with the Windows NT task scheduler. |
Interval | Holds an integer value specifying the interval time between successive tasks In units of minutes. |
ProjectName | Holds a string specifying the name of the project to refresh. |
Start | Holds a date value specifying when the scheduled task should start. |
TaskName | Holds a string specifying the name of the task. The task will appear in the Windows NT task scheduler under this name. |