다음을 통해 공유


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