ManagementGroup::GetMonitoringConsoleTasks<T> Method (ManagementPackConsoleTaskCriteria^, ICollection<T>^)
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
Retrieves all the console tasks in this management group that match the specified criteria and target the specified monitoring object instances.
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.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringConsoleTask^>^Returns aReadOnlyCollection<T> object ofMonitoringConsoleTask objects.
Type Parameters
- T
Must be of type PartialMonitoringObject.
Show: