SPHealthAnalyzer.ParseService method

Returns the data type of the service with the specified type name.

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

Syntax

'Declaration
Public Shared Function ParseService ( _
    service As String _
) As Type
'Usage
Dim service As String
Dim returnValue As Type

returnValue = SPHealthAnalyzer.ParseService(service)
public static Type ParseService(
    string service
)

Parameters

  • service
    Type: System.String

    A string that contains the type name for a service that is associated with a rule.

Return value

Type: System.Type
The data type for the specified service or SPTimerService if the type cannot be found.

See also

Reference

SPHealthAnalyzer class

SPHealthAnalyzer members

Microsoft.SharePoint.Administration.Health namespace