Share via


SecurityFeature.CheckHealth Method

Runs all of the health checks in the collection of health checks.

Namespace: Microsoft.WindowsServerSolutions.SystemHealth.Infrastructure
Assembly: SHInfra (in shinfra.dll)

Usage

Syntax

'Declaration
Public Function CheckHealth As FeatureHealthReport
public FeatureHealthReport CheckHealth ()
public:
FeatureHealthReport^ CheckHealth ()
public FeatureHealthReport CheckHealth ()
public function CheckHealth () : FeatureHealthReport

Return Value

An instance of FeatureHealthReport.

Remarks

This method supports the infrastructure and is not intended to be used directly from your code.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

SecurityFeature Class
SecurityFeature Members
Microsoft.WindowsServerSolutions.SystemHealth.Infrastructure Namespace