PartialMonitoringObject::SubmitMonitoringTask Method (MonitoringTask^, TaskConfiguration^)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Submits a task that is targeted toward this partial monitoring object.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

public:
[ObsoleteAttribute("Use ManagementGroup.TaskRuntime.SubmitTask methods that take this object")]
Guid SubmitMonitoringTask(
	MonitoringTask^ task,
	TaskConfiguration^ configuration
)

Parameters

task
Type: Microsoft.EnterpriseManagement.Runtime::MonitoringTask^

The task to submit.

configuration
Type: Microsoft.EnterpriseManagement.Runtime::TaskConfiguration^

The configuration settings for the task to submit.

Return Value

Type: System::Guid

Returns a Guid that represents the submitted task.

Return to top
Show: