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)

Usage

Visual Basic
Dim instance As PartialMonitoringObject
Dim returnValue As ReadOnlyCollection(Of MonitoringConsoleTask)

returnValue = instance.GetMonitoringConsoleTasks

Syntax

Visual Basic
Public Function GetMonitoringConsoleTasks As ReadOnlyCollection(Of MonitoringConsoleTask)
C#
public ReadOnlyCollection<MonitoringConsoleTask> GetMonitoringConsoleTasks ()
C++
public:
ReadOnlyCollection<MonitoringConsoleTask^>^ GetMonitoringConsoleTasks ()
J#
public ReadOnlyCollection<MonitoringConsoleTask> GetMonitoringConsoleTasks ()
JScript
public function GetMonitoringConsoleTasks () : ReadOnlyCollection<MonitoringConsoleTask>

Return Value

A read-only collection of MonitoringConsoleTask objects.

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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also