Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Comment on "Examples"

$
0
0
Hi, I am using some part of the above code if (preWin7) { // Create a trigger that will fire on a system security event EventTrigger eTrigger = (EventTrigger)td.Triggers.Add(new EventTrigger()); eTrigger.SetBasic("Security", "VSSAudit", 25); eTrigger.ValueQueries.Add("Name", "Value"); } eTrigger.SetBasic("Security", "VSSAudit", 25); creates a duplicate value in the Log and Source of task scheduler, which doesn't work i-e execute notepad at my end. Is there anyway I can use eTrigger.GetBasic("Security", "VSSAudit", 25);. I tried using it, it gives me error as method has invalid arguments and it should be used with "out" keyword. Thanks!

Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>