Share via


ManagementGroup.GetMonitoringViews Method

Definition

Retrieves the monitoring views.

Overloads

GetMonitoringViews()
Obsolete.

Gets views.

GetMonitoringViews(ManagementPackViewCriteria)
Obsolete.

Gets views based on criteria.

GetMonitoringViews<T>(ICollection<T>)
Obsolete.

Gets all the views in this management group targeted to any of these instances.

GetMonitoringViews<T>(ManagementPackViewCriteria, ICollection<T>)
Obsolete.

Gets all the views in this management group targeted to any of these instances.

GetMonitoringViews()

Caution

Please use Presentation.GetViews()

Gets views.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringView ^> ^ GetMonitoringViews();
[System.Obsolete("Please use 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 views that match the criteria.

Attributes

Remarks

A view is a depiction of data with predefined criteria.

Applies to

GetMonitoringViews(ManagementPackViewCriteria)

Caution

Please use Presentation.GetViews()

Gets views based on criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringView ^> ^ GetMonitoringViews(Microsoft::EnterpriseManagement::Configuration::ManagementPackViewCriteria ^ criteria);
[System.Obsolete("Please use 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.

Returns

A collection of views that match the criteria.

Attributes

Remarks

A view is a depiction of data with predefined criteria.

Applies to

GetMonitoringViews<T>(ICollection<T>)

Caution

Please use Presentation.GetViews()

Gets all the views in this management group targeted to any of these instances.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringView ^> ^ GetMonitoringViews(System::Collections::Generic::ICollection<T> ^ monitoringObjects);
[System.Obsolete("Please use Presentation.GetViews()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView> GetMonitoringViews<T> (System.Collections.Generic.ICollection<T> monitoringObjects) where T : Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject;
member this.GetMonitoringViews : System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)
Public Function GetMonitoringViews(Of T As PartialMonitoringObject) (monitoringObjects As ICollection(Of T)) As ReadOnlyCollection(Of MonitoringView)

Type Parameters

T

Must be of type PartialMonitoringObject

Parameters

monitoringObjects
ICollection<T>

The monitoring objects for the views to target.

Returns

A collection of View objects.

Attributes

Exceptions

monitoringObjects is null

There was invalid data in the database corresponding to this method call.

Remarks

A view is a depiction of data with predefined criteria.

Applies to

GetMonitoringViews<T>(ManagementPackViewCriteria, ICollection<T>)

Caution

Please use Presentation.GetViews()

Gets all the views in this management group targeted to any of these instances.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringView ^> ^ GetMonitoringViews(Microsoft::EnterpriseManagement::Configuration::ManagementPackViewCriteria ^ criteria, System::Collections::Generic::ICollection<T> ^ monitoringObjects);
[System.Obsolete("Please use Presentation.GetViews()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView> GetMonitoringViews<T> (Microsoft.EnterpriseManagement.Configuration.ManagementPackViewCriteria criteria, System.Collections.Generic.ICollection<T> monitoringObjects) where T : Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject;
member this.GetMonitoringViews : Microsoft.EnterpriseManagement.Configuration.ManagementPackViewCriteria * System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringView> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)
Public Function GetMonitoringViews(Of T As PartialMonitoringObject) (criteria As ManagementPackViewCriteria, monitoringObjects As ICollection(Of T)) As ReadOnlyCollection(Of MonitoringView)

Type Parameters

T

Must be of type PartialMonitoringObject

Parameters

criteria
ManagementPackViewCriteria

The criteria

monitoringObjects
ICollection<T>

The monitoring objects for the views to target.

Returns

A collection of View objects.

Attributes

Exceptions

monitoringObjects is null

There was invalid data in the database corresponding to this method call.

Remarks

A view is a depiction of data with predefined criteria.

Applies to