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

New Post: Converting TaskDefinition to work with Server 2003 R2

$
0
0

You only need the following:

TaskService ts = new TaskService(txtServerName.Text, logon[1], logon[0], logon[2], true);
TaskSchedulerWizard tempEditorForm = new TaskSchedulerWizard(ts);if (tempEditorForm.ShowDialog() == DialogResult.OK)
{// You can use tempEditorForm.TaskDefinition here to modify however you want
// You must register it to make it take effect
// You do not need to change the Compatibility property
}

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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