Share via


SPHealthAnalysisRuleInstance.Lookup method (String)

Find a new instance of the SPHealthAnalysisRuleInstancePinpBind with the specified name.

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

Syntax

'Declaration
Public Shared Function Lookup ( _
    name As String _
) As List(Of SPHealthAnalysisRuleInstance)
'Usage
Dim name As String
Dim returnValue As List(Of SPHealthAnalysisRuleInstance)

returnValue = SPHealthAnalysisRuleInstance.Lookup(name)
public static List<SPHealthAnalysisRuleInstance> Lookup(
    string name
)

Parameters

  • name
    Type: System.String

    The registration type of the Health Analysis rule.

Return value

Type: System.Collections.Generic.List<SPHealthAnalysisRuleInstance>
The instance with the corresponding name.

See also

Reference

SPHealthAnalysisRuleInstance class

SPHealthAnalysisRuleInstance members

Lookup overload

Microsoft.SharePoint.Administration.Health namespace