Поделиться через


PartialMonitoringObject.GetMonitoringConsoleTasks Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Gets all the tasks that are targeted toward this monitoring object, based on all the types of the entity and the base types.

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

Syntax

[ObsoleteAttribute("Use ManagementGroup.Runtime.TaskConfiguration.GetConsoleTasks methods that take this object")]
public ReadOnlyCollection<MonitoringConsoleTask> GetMonitoringConsoleTasks()
public:
[ObsoleteAttribute("Use ManagementGroup.Runtime.TaskConfiguration.GetConsoleTasks methods that take this object")]
ReadOnlyCollection<MonitoringConsoleTask^>^ GetMonitoringConsoleTasks()
[<ObsoleteAttribute("Use ManagementGroup.Runtime.TaskConfiguration.GetConsoleTasks methods that take this object")>]
member GetMonitoringConsoleTasks : unit -> ReadOnlyCollection<MonitoringConsoleTask>
<ObsoleteAttribute("Use ManagementGroup.Runtime.TaskConfiguration.GetConsoleTasks methods that take this object")>
Public Function GetMonitoringConsoleTasks As ReadOnlyCollection(Of MonitoringConsoleTask)

Return Value

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

Returns ReadOnlyCollection<T> of MonitoringConsoleTaskobjects.

Remarks

Management packs include tasks that perform useful commands on the items that the management pack is designed to monitor and manage. This method gets the tasks that are associated with the PartialMonitoringObject object

See Also

GetMonitoringConsoleTasks Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top