Previous in Contents Next in Contents

IsScheduled Method

The IsScheduled method returns true or false, depending on whether this task has been scheduled in the task scheduler.

VBScript Syntax

ITask.IsScheduled

Parameters

None

Return Value

Integer (true/false) (VT_I4)  (false=0)

Example

VBScript

Set Task = Project.Task
If Task.IsScheduled Then
  …
Else
  call Task.Update("password")
End If

© 1997-2000 Microsoft Corporation. All rights reserved.