Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
---|
Dim instance As PartialMonitoringObject Dim returnValue As ReadOnlyCollection(Of MonitoringDiscovery) returnValue = instance.GetMonitoringDiscoveries |
Syntax
Visual Basic |
---|
Public Function GetMonitoringDiscoveries As ReadOnlyCollection(Of MonitoringDiscovery) |
C# |
---|
public ReadOnlyCollection<MonitoringDiscovery> GetMonitoringDiscoveries () |
C++ |
---|
public: ReadOnlyCollection<MonitoringDiscovery^>^ GetMonitoringDiscoveries () |
J# |
---|
public ReadOnlyCollection<MonitoringDiscovery> GetMonitoringDiscoveries () |
JScript |
---|
public function GetMonitoringDiscoveries () : ReadOnlyCollection<MonitoringDiscovery> |
Return Value
A read-only collection 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 the 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.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.