MonitoringClass.GetMonitoringViews Method (BaseClassTraversalDepth)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves the monitoring view objects that target this monitoring class, optionally including the monitoring view objects that target the base classes of this class.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Use ManagementGroup.Presentation.GetViews")]
public ReadOnlyCollection<MonitoringView> GetMonitoringViews(
BaseClassTraversalDepth baseClassTraversalDepth
)
public:
[ObsoleteAttribute("Use ManagementGroup.Presentation.GetViews")]
ReadOnlyCollection<MonitoringView^>^ GetMonitoringViews(
BaseClassTraversalDepth baseClassTraversalDepth
)
[<ObsoleteAttribute("Use ManagementGroup.Presentation.GetViews")>]
member GetMonitoringViews :
baseClassTraversalDepth:BaseClassTraversalDepth -> ReadOnlyCollection<MonitoringView>
<ObsoleteAttribute("Use ManagementGroup.Presentation.GetViews")>
Public Function GetMonitoringViews (
baseClassTraversalDepth As BaseClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringView)
Parameters
baseClassTraversalDepth
Type: Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepthDetermines whether to also return monitoring view objects that target the base classes of this class. A value of None does not include base classes. A value of Recursive includes base classes.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringView>
Returns a ReadOnlyCollection<T> of MonitoringView objects.
See Also
GetMonitoringViews Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace
Return to top