SPHealthAnalyzer.ParseScope method

Returns the health check scope with the specified display name.

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

Syntax

'Declaration
Public Shared Function ParseScope ( _
    scope As String _
) As SPHealthCheckScope
'Usage
Dim scope As String
Dim returnValue As SPHealthCheckScope

returnValue = SPHealthAnalyzer.ParseScope(scope)
public static SPHealthCheckScope ParseScope(
    string scope
)

Parameters

  • scope
    Type: System.String

    The localized display name for a health check scope.

Return value

Type: Microsoft.SharePoint.Administration.Health.SPHealthCheckScope
An enumeration value that specifies a scope.

See also

Reference

SPHealthAnalyzer class

SPHealthAnalyzer members

Microsoft.SharePoint.Administration.Health namespace