How to Run a Management Pack Task
Updated: May 22, 2009
Applies To: Operations Manager 2007 R2, Operations Manager 2007 SP1, System Center Operations Manager 2007
Management Packs include tasks that perform useful commands on the items that the Management Pack is designed to monitor and manage. The Operations Manager class libraries allow you to programmatically launch a task that is defined in an installed Management Pack. When you launch the task, you can control both the criteria that are used to determine the targets of the task and the handling of the results that are returned when the task is complete.
In This Section
- How to Asynchronously Run a Management Pack Task
- Demonstrates how to run a task in a separate thread, which allows the SDK client to perform other operations during task execution.
- How to Synchronously Run a Management Pack Task
- Demonstrates how to run a task in the current thread, which causes the SDK client to delay until task execution is complete.