Compartilhar via


PartialMonitoringObject.GetMonitoringRules Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Gets all the rules 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.Monitoring.GetRules methods that take this object")]
public ReadOnlyCollection<MonitoringRule> GetMonitoringRules()
public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules methods that take this object")]
ReadOnlyCollection<MonitoringRule^>^ GetMonitoringRules()
[<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules methods that take this object")>]
member GetMonitoringRules : unit -> ReadOnlyCollection<MonitoringRule>
<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules methods that take this object")>
Public Function GetMonitoringRules As ReadOnlyCollection(Of MonitoringRule)

Return Value

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

Returns ReadOnlyCollection<T> of MonitoringRule objects.

See Also

GetMonitoringRules Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top