SPHealthAnalyzer.GetLocalizedSeverity method
Returns a localized string for a specified severity level.
Namespace: Microsoft.SharePoint.Administration.Health
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetLocalizedSeverity ( _
level As SPHealthCheckErrorLevel _
) As String
'Usage
Dim level As SPHealthCheckErrorLevel
Dim returnValue As String
returnValue = SPHealthAnalyzer.GetLocalizedSeverity(level)
public static string GetLocalizedSeverity(
SPHealthCheckErrorLevel level
)
Parameters
level
Type: Microsoft.SharePoint.Administration.Health.SPHealthCheckErrorLevelA enumeration value that specifies a severity level.
Return value
Type: System.String
A string in the language specified by the GlobalServerLanguage property.