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


ManagementGroup.GetMonitoringTask Method (Guid)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the monitoring task that has the specified GUID.

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

Syntax

[ObsoleteAttribute("Please use TaskConfiguration.GetTask()")]
public MonitoringTask GetMonitoringTask(
    Guid id
)
public:
[ObsoleteAttribute("Please use TaskConfiguration.GetTask()")]
MonitoringTask^ GetMonitoringTask(
    Guid id
)
[<ObsoleteAttribute("Please use TaskConfiguration.GetTask()")>]
member GetMonitoringTask : 
        id:Guid -> MonitoringTask
<ObsoleteAttribute("Please use TaskConfiguration.GetTask()")>
Public Function GetMonitoringTask (
    id As Guid
) As MonitoringTask

Parameters

  • id
    Type: System.Guid

    The GUID of the monitoring task to get.

Return Value

Type: Microsoft.EnterpriseManagement.Runtime.MonitoringTask

Returns aMonitoringTask object.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top