Freigeben über


ManagementGroup.GetMonitoringAlertsCount Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the number of all theMonitoringAlertobjects.

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

Syntax

[ObsoleteAttribute("Please use OperationalData.GetMonitoringAlertsCount(MonitoringAlertCriteria.Empty)")]
public int GetMonitoringAlertsCount()
public:
[ObsoleteAttribute("Please use OperationalData.GetMonitoringAlertsCount(MonitoringAlertCriteria.Empty)")]
int GetMonitoringAlertsCount()
[<ObsoleteAttribute("Please use OperationalData.GetMonitoringAlertsCount(MonitoringAlertCriteria.Empty)")>]
member GetMonitoringAlertsCount : unit -> int
<ObsoleteAttribute("Please use OperationalData.GetMonitoringAlertsCount(MonitoringAlertCriteria.Empty)")>
Public Function GetMonitoringAlertsCount As Integer

Return Value

Type: System.Int32

Returns aInt32 that represents all theMonitoringAlertobjects.

See Also

GetMonitoringAlertsCount Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top