Share via


SPHealthAnalyzer.ParseCategory method

Returns the rule category with the specified display name.

Namespace:  Microsoft.SharePoint.Administration.Health
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function ParseCategory ( _
    category As String _
) As SPHealthCategory
'Usage
Dim category As String
Dim returnValue As SPHealthCategory

returnValue = SPHealthAnalyzer.ParseCategory(category)
public static SPHealthCategory ParseCategory(
    string category
)

Parameters

  • category
    Type: System.String

    The localized display name for a category.

Return value

Type: Microsoft.SharePoint.Administration.Health.SPHealthCategory
An enumeration value that specifies a rule category.

See also

Reference

SPHealthAnalyzer class

SPHealthAnalyzer members

Microsoft.SharePoint.Administration.Health namespace