MonitoringClass.GetMonitoringViews Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the monitoring view objects that target this monitoring class.
Overloads
GetMonitoringViews() |
Obsolete.
Gets all the views targeted toward this type. |
GetMonitoringViews(BaseClassTraversalDepth) |
Obsolete.
Gets all the views targeted toward this type. |
GetMonitoringViews(ManagementPackViewCriteria) |
Obsolete.
Gets all the views targeted toward this type. |
GetMonitoringViews(ManagementPackViewCriteria, BaseClassTraversalDepth) |
Obsolete.
Gets all the views targeted toward this type. |
GetMonitoringViews()
Caution
Use ManagementGroup.Presentation.GetViews
Gets all the views targeted toward this type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringView ^> ^ GetMonitoringViews();
[System.Obsolete("Use ManagementGroup.Presentation.GetViews")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView> GetMonitoringViews ();
member this.GetMonitoringViews : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView>
Public Function GetMonitoringViews () As ReadOnlyCollection(Of MonitoringView)
Returns
A collection of view objects.
- Attributes
Applies to
GetMonitoringViews(BaseClassTraversalDepth)
Caution
Use ManagementGroup.Presentation.GetViews
Gets all the views targeted toward this type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringView ^> ^ GetMonitoringViews(Microsoft::EnterpriseManagement::Configuration::BaseClassTraversalDepth baseClassTraversalDepth);
[System.Obsolete("Use ManagementGroup.Presentation.GetViews")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView> GetMonitoringViews (Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth baseClassTraversalDepth);
member this.GetMonitoringViews : Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView>
Public Function GetMonitoringViews (baseClassTraversalDepth As BaseClassTraversalDepth) As ReadOnlyCollection(Of MonitoringView)
Parameters
- baseClassTraversalDepth
- BaseClassTraversalDepth
Indicates whether or not to include this classes base classes as targets for the View.
Returns
A collection of view objects.
- Attributes
Applies to
GetMonitoringViews(ManagementPackViewCriteria)
Caution
Use ManagementGroup.Presentation.GetViews
Gets all the views targeted toward this type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringView ^> ^ GetMonitoringViews(Microsoft::EnterpriseManagement::Configuration::ManagementPackViewCriteria ^ criteria);
[System.Obsolete("Use ManagementGroup.Presentation.GetViews")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView> GetMonitoringViews (Microsoft.EnterpriseManagement.Configuration.ManagementPackViewCriteria criteria);
member this.GetMonitoringViews : Microsoft.EnterpriseManagement.Configuration.ManagementPackViewCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView>
Public Function GetMonitoringViews (criteria As ManagementPackViewCriteria) As ReadOnlyCollection(Of MonitoringView)
Parameters
- criteria
- ManagementPackViewCriteria
The criteria for the views to retrieve.
Returns
A collection of view objects.
- Attributes
Applies to
GetMonitoringViews(ManagementPackViewCriteria, BaseClassTraversalDepth)
Caution
Use ManagementGroup.Presentation.GetViews
Gets all the views targeted toward this type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringView ^> ^ GetMonitoringViews(Microsoft::EnterpriseManagement::Configuration::ManagementPackViewCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::BaseClassTraversalDepth baseClassTraversalDepth);
[System.Obsolete("Use ManagementGroup.Presentation.GetViews")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView> GetMonitoringViews (Microsoft.EnterpriseManagement.Configuration.ManagementPackViewCriteria criteria, Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth baseClassTraversalDepth);
member this.GetMonitoringViews : Microsoft.EnterpriseManagement.Configuration.ManagementPackViewCriteria * Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView>
Public Function GetMonitoringViews (criteria As ManagementPackViewCriteria, baseClassTraversalDepth As BaseClassTraversalDepth) As ReadOnlyCollection(Of MonitoringView)
Parameters
- criteria
- ManagementPackViewCriteria
The criteria for the views to retrieve.
- baseClassTraversalDepth
- BaseClassTraversalDepth
Indicates whether or not to include this classes base classes as targets for the View.
Returns
A collection of view objects.
- Attributes