PartialMonitoringObjectBase::GetMonitoringAlertsCount Method (ManagementPackClass^)

 

Applies To: Operations Manager for System Center 2012

Gets the number of monitoring alerts that are related to this monitoring object and the specified monitoring class.

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

public:
int GetMonitoringAlertsCount(
	ManagementPackClass^ managementPackClass
)

Parameters

managementPackClass
Type: Microsoft.EnterpriseManagement.Configuration::ManagementPackClass^

Only alerts that are related to this monitoring class are counted.

Return Value

Type: System::Int32

Returns a Int32 value.

Return to top
Show: