-
Hello, I'm trying to use this library to get some info from a remote server's Task Scheduler. I'm having trouble getting time and frequency of job; list of actions with their details. Any help appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Well, I figured out the first one, but I don't see how I can get list of actions. I tried foreaching the Definition.Actions property, but it only contains ActionType and Id. I need list of actions and their details (e.g., Start a program -> C:\Progs\program.cmd") |
Beta Was this translation helpful? Give feedback.
-
You need to cast the |
Beta Was this translation helpful? Give feedback.
You need to cast the
Action
to the type corresponding to the value ofActionType
.