Share via


SPHealthAnalysisRuleInstance.Name property

Gets the name of the Health Analysis instance.

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

Syntax

'Declaration
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As SPHealthAnalysisRuleInstance
Dim value As String

value = instance.Name
public string Name { get; }

Property value

Type: System.String

Remarks

The name of the health analysis rule is the name of the implementation class. For example, the class Microsoft.SharePoint.Administration.Health.AdminAccountsUsedAsProcessIdentities impelementent the rule "Accounts used by application pools or service identities are in the local machine Administrators group", and its name is AdminAccountsUsedAsProcessIdentities.

See also

Reference

SPHealthAnalysisRuleInstance class

SPHealthAnalysisRuleInstance members

Microsoft.SharePoint.Administration.Health namespace