Share via


SPHealthAnalysisRule.CustomCategory property

Gets or sets the name of a custom category for this rule.

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

Syntax

'Declaration
Public Overridable Property CustomCategory As String
    Get
    Set
'Usage
Dim instance As SPHealthAnalysisRule
Dim value As String

value = instance.CustomCategory

instance.CustomCategory = value
public virtual string CustomCategory { get; set; }

Property value

Type: System.String
A string that contains the name for the category.

Remarks

The value of this property is ignored unless the Category property is set to SPHealthCategory.Custom.

See also

Reference

SPHealthAnalysisRule class

SPHealthAnalysisRule members

Microsoft.SharePoint.Administration.Health namespace