PartialMonitoringObject.GetMonitoringDiscoveries Method

Definition

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

Overloads

GetMonitoringDiscoveries()
Obsolete.

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

GetMonitoringDiscoveries(ManagementPackDiscoveryCriteria)
Obsolete.

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

GetMonitoringDiscoveries()

Caution

Use ManagementGroup.Monitoring.GetDiscoveries

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

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringDiscovery ^> ^ GetMonitoringDiscoveries();
[System.Obsolete("Use ManagementGroup.Monitoring.GetDiscoveries")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiscovery> GetMonitoringDiscoveries ();
member this.GetMonitoringDiscoveries : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiscovery>
Public Function GetMonitoringDiscoveries () As ReadOnlyCollection(Of MonitoringDiscovery)

Returns

A collection of discovery objects.

Attributes

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 [GetMonitoringDiscoveries]() 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.

Applies to

GetMonitoringDiscoveries(ManagementPackDiscoveryCriteria)

Caution

Use ManagementGroup.Monitoring.GetDiscoveries

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

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringDiscovery ^> ^ GetMonitoringDiscoveries(Microsoft::EnterpriseManagement::Configuration::ManagementPackDiscoveryCriteria ^ criteria);
[System.Obsolete("Use ManagementGroup.Monitoring.GetDiscoveries")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiscovery> GetMonitoringDiscoveries (Microsoft.EnterpriseManagement.Configuration.ManagementPackDiscoveryCriteria criteria);
member this.GetMonitoringDiscoveries : Microsoft.EnterpriseManagement.Configuration.ManagementPackDiscoveryCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiscovery>
Public Function GetMonitoringDiscoveries (criteria As ManagementPackDiscoveryCriteria) As ReadOnlyCollection(Of MonitoringDiscovery)

Parameters

criteria
ManagementPackDiscoveryCriteria

The criteria of discoveries to retrieve.

Returns

A collection of discovery objects.

Attributes

Remarks

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.

Applies to