Udostępnij za pośrednictwem


PartialMonitoringObject.GetMonitoringDiscoveries Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Gets all the discoveries 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.GetDiscoveries")]
public ReadOnlyCollection<MonitoringDiscovery> GetMonitoringDiscoveries()
public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiscoveries")]
ReadOnlyCollection<MonitoringDiscovery^>^ GetMonitoringDiscoveries()
[<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiscoveries")>]
member GetMonitoringDiscoveries : unit -> ReadOnlyCollection<MonitoringDiscovery>
<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiscoveries")>
Public Function GetMonitoringDiscoveries As ReadOnlyCollection(Of MonitoringDiscovery)

Return Value

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

Returns ReadOnlyCollection<T> of MonitoringDiscovery objects.

Remarks

Gets all the discoveries that are targeted toward this monitoring object, based on all the types of the entity and the base types.

The MonitoringDiscovery objects in the returned collection represent the discovery objects that target a type. The Category property of each MonitoringDiscovery object is set to the Discovery value.

Discoveries are run periodically and report back to Operations Manager. With the discovered data, the system reacts on its rules and monitors, and determines the state of entities and whether an alert should be raised.

See Also

GetMonitoringDiscoveries Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top