ManagementGroup::SubmitMonitoringTask<T> Method (ICollection<T>^, MonitoringTask^, TaskConfiguration^, MonitoringTaskStatusChangeCallback^)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Submits a specified task, providing the targeted objects, task configuration settings, and a callback if task results change.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: generic<typename T> where T : PartialMonitoringObject [ObsoleteAttribute("Please use TaskRuntime.SubmitMonitoringTask<T>()")] Guid SubmitMonitoringTask( ICollection<T>^ targets, MonitoringTask^ task, TaskConfiguration^ configuration, MonitoringTaskStatusChangeCallback^ callback )
Parameters
- targets
-
Type:
System.Collections.Generic::ICollection<T>^
The objects that the task targets.
- task
-
Type:
Microsoft.EnterpriseManagement.Runtime::MonitoringTask^
The task to submit.
- configuration
-
Type:
Microsoft.EnterpriseManagement.Runtime::TaskConfiguration^
Configuration settings for the task.
- callback
-
Type:
Microsoft.EnterpriseManagement.Monitoring::MonitoringTaskStatusChangeCallback^
The callback method that is called when any of the task results change for the batch.
Type Parameters
- T
Must be of type PartialMonitoringObject.
Show: