IEnumerableAlertInfoExtensions.GetSeverityLevel Method (IEnumerable<AlertInfo>)
Returns the highest severity of the alerts in the specified IEnumerable implementation of AlertInfo objects.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Syntax
public static HealthStatus GetSeverityLevel(
this IEnumerable<AlertInfo> alertEnumerable
)
public:
[ExtensionAttribute]
static HealthStatus GetSeverityLevel(
IEnumerable<AlertInfo^>^ alertEnumerable
)
<ExtensionAttribute>
Public Shared Function GetSeverityLevel (
alertEnumerable As IEnumerable(Of AlertInfo)
) As HealthStatus
Parameters
alertEnumerable
Type: System.Collections.Generic.IEnumerable<AlertInfo>The IEnumerable implementation of AlertInfo objects.
Return Value
Type: Microsoft.WindowsServerSolutions.NetworkHealth.Engine.HealthStatus
An instance of HealthStatus.
See Also
IEnumerableAlertInfoExtensions Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top