ManagementGroup::GetMonitors Method ()

System Center
 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of all the monitor objects.

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

public:
[ObsoleteAttribute("Please use Monitoring.GetMonitors()")]
ReadOnlyCollection<ManagementPackMonitor^>^ GetMonitors()

Return Value

Type: System.Collections.ObjectModel::ReadOnlyCollection<ManagementPackMonitor^>^

Returns a read-only collection ofReadOnlyCollection<T> Objects.

The following example defines a ManagementGroupinstance and retrieves its monitors, monitoring rules, and knowledge articles.

Return to top
Show: