ManagementGroup::GetMonitoringConsoleTasks<T> Method (ManagementPackConsoleTaskCriteria^, ICollection<T>^)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves all the console tasks in this management group that match the specified criteria and target the specified monitoring object instances.

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

public:
generic<typename T>
where T : PartialMonitoringObject
[ObsoleteAttribute("Please use TaskConfiguration.GetConsoleTasks<T>()")]
ReadOnlyCollection<MonitoringConsoleTask^>^ GetMonitoringConsoleTasks(
	ManagementPackConsoleTaskCriteria^ criteria,
	ICollection<T>^ monitoringObjects
)

Parameters

criteria
Type: Microsoft.EnterpriseManagement.Configuration::ManagementPackConsoleTaskCriteria^

A value that specifies the kind of monitoring console tasks to be returned.

monitoringObjects
Type: System.Collections.Generic::ICollection<T>^

The monitoring object instances targeted by the console tasks.

Type Parameters

T

Must be of type PartialMonitoringObject.

Return to top
Show: