Previous in Contents Next in Contents

Update Method

The Update method updates or installs this task in the task scheduler.

VBScript Syntax

ITask.Update password

Parameters

password

The password for the account specified by the AccountName property.

Return Values

None

Remarks

The password supplied is used along with the AccountName property as credentials for access to the system's task scheduler.

Example

' VBScript
Set Project = CreateObject("Push.Project")
Set Task = CreateObject("Push.Task")
Task.AccountName = "Administrator"
Task.Interval = 4*60  ' every four hours, run the task.
Task.Start = #10/10/1997#   ' or whatever format is currently set
Task.ProjectName = "SomeProject"

Project.Load "SomeProject"
Set Project.Task = Task
Task.Update "admin-password"

© 1997-2000 Microsoft Corporation. All rights reserved.