次の方法で共有


ManagementGroup.GetMonitoringRule Method (Guid)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the monitoring rule that has the specified GUID.

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

Syntax

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

Parameters

  • id
    Type: System.Guid

    The GUID of the monitoring rule to get.

Return Value

Type: Microsoft.EnterpriseManagement.Configuration.MonitoringRule

Returns aMonitoringRule object.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top