rootFolder.RegisterTaskDefinition(task.Name, definition, 6, "ID", "password", _TASK_LOGON_TYPE.TASK_LOGON_PASSWORD, null);
The ID & PW just need hard coded, not an object.
http://taskscheduler.codeplex.com/discussions/545546
http://code.msdn.microsoft.com/CSTaskScheduler-2f70d723
No comments:
Post a Comment