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)

public static Type ParseService(
	string 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.