Condividi tramite


ManagementGroup.GetMonitoringDiscoveries<T> Method (ICollection<T>)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of discovery objects that target the specified monitoring objects.

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

Syntax

[ObsoleteAttribute("Please use Monitoring.GetDiscoveries<T>()")]
public ReadOnlyCollection<MonitoringDiscovery> GetMonitoringDiscoveries<T>(
    ICollection<T> monitoringObjects
)
where T : PartialMonitoringObject
public:
generic<typename T>
where T : PartialMonitoringObject
[ObsoleteAttribute("Please use Monitoring.GetDiscoveries<T>()")]
ReadOnlyCollection<MonitoringDiscovery^>^ GetMonitoringDiscoveries(
    ICollection<T>^ monitoringObjects
)
[<ObsoleteAttribute("Please use Monitoring.GetDiscoveries<T>()")>]
member GetMonitoringDiscoveries<'T when 'T : PartialMonitoringObject> : 
        monitoringObjects:ICollection<'T> -> ReadOnlyCollection<MonitoringDiscovery>
<ObsoleteAttribute("Please use Monitoring.GetDiscoveries<T>()")>
Public Function GetMonitoringDiscoveries(Of T As PartialMonitoringObject) (
    monitoringObjects As ICollection(Of T)
) As ReadOnlyCollection(Of MonitoringDiscovery)

Parameters

Return Value

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

Returns aReadOnlyCollection<T> ofMonitoringDiscovery objects.

Type Parameters

See Also

GetMonitoringDiscoveries Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top