Compartilhar via


ManagementGroup.GetMonitor Method (Guid)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a monitor.

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

Syntax

[ObsoleteAttribute("Please use Monitoring.GetMonitor()")]
public ManagementPackMonitor GetMonitor(
    Guid id
)
public:
[ObsoleteAttribute("Please use Monitoring.GetMonitor()")]
ManagementPackMonitor^ GetMonitor(
    Guid id
)
[<ObsoleteAttribute("Please use Monitoring.GetMonitor()")>]
member GetMonitor : 
        id:Guid -> ManagementPackMonitor
<ObsoleteAttribute("Please use Monitoring.GetMonitor()")>
Public Function GetMonitor (
    id As Guid
) As ManagementPackMonitor

Parameters

  • id
    Type: System.Guid

    The GUID of the monitor to retrieve.

Return Value

Type: Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor

Returns aManagementPackMonitorobject.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top