次の方法で共有


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

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of all the monitoring views in the management group that target the specified monitoring objects.

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

Syntax

[ObsoleteAttribute("Please use Presentation.GetViews()")]
public ReadOnlyCollection<MonitoringView> GetMonitoringViews<T>(
    ICollection<T> monitoringObjects
)
where T : PartialMonitoringObject
public:
generic<typename T>
where T : PartialMonitoringObject
[ObsoleteAttribute("Please use Presentation.GetViews()")]
ReadOnlyCollection<MonitoringView^>^ GetMonitoringViews(
    ICollection<T>^ monitoringObjects
)
[<ObsoleteAttribute("Please use Presentation.GetViews()")>]
member GetMonitoringViews<'T when 'T : PartialMonitoringObject> : 
        monitoringObjects:ICollection<'T> -> ReadOnlyCollection<MonitoringView>
<ObsoleteAttribute("Please use Presentation.GetViews()")>
Public Function GetMonitoringViews(Of T As PartialMonitoringObject) (
    monitoringObjects As ICollection(Of T)
) As ReadOnlyCollection(Of MonitoringView)

Parameters

Return Value

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

Returns aReadOnlyCollection<T> object ofMonitoringView objects.

Type Parameters

Remarks

A view is a depiction of data with predefined criteria.

See Also

GetMonitoringViews Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top