Condividi tramite


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

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

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

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

Syntax

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

Parameters

Return Value

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

Returns aReadOnlyCollection<T> ofMonitoringDiagnostic objects.

Type Parameters

See Also

GetMonitoringDiagnostics Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top