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