Compartilhar via


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