Freigeben über


ManagementGroup.GetMonitoringConsoleTasks<T> Method (ICollection<T>)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves all the console tasks that target the specified monitoring object instances.

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

Syntax

[ObsoleteAttribute("Please use TaskConfiguration.GetConsoleTasks<T>()")]
public ReadOnlyCollection<MonitoringConsoleTask> GetMonitoringConsoleTasks<T>(
    ICollection<T> monitoringObjects
)
where T : PartialMonitoringObject
public:
generic<typename T>
where T : PartialMonitoringObject
[ObsoleteAttribute("Please use TaskConfiguration.GetConsoleTasks<T>()")]
ReadOnlyCollection<MonitoringConsoleTask^>^ GetMonitoringConsoleTasks(
    ICollection<T>^ monitoringObjects
)
[<ObsoleteAttribute("Please use TaskConfiguration.GetConsoleTasks<T>()")>]
member GetMonitoringConsoleTasks<'T when 'T : PartialMonitoringObject> : 
        monitoringObjects:ICollection<'T> -> ReadOnlyCollection<MonitoringConsoleTask>
<ObsoleteAttribute("Please use TaskConfiguration.GetConsoleTasks<T>()")>
Public Function GetMonitoringConsoleTasks(Of T As PartialMonitoringObject) (
    monitoringObjects As ICollection(Of T)
) As ReadOnlyCollection(Of MonitoringConsoleTask)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringConsoleTask>

Returns aReadOnlyCollection<T> object of MonitoringConsoleTaskobjects.

Type Parameters

See Also

GetMonitoringConsoleTasks Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top