Represents an agent that captures information from the computer on which it is running, applies predefined rules to the captured data, and performs actions as defined by the rules. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ComputerHealthService

Syntax

Visual Basic
<SerializableAttribute> _
Public Class ComputerHealthService
		Inherits MonitoringBase
C#
[SerializableAttribute] 
public class ComputerHealthService : MonitoringBase
C++
[SerializableAttribute] 
public ref class ComputerHealthService : public MonitoringBase
J#
/** @attribute SerializableAttribute() */ 
public class ComputerHealthService extends MonitoringBase
JScript
SerializableAttribute 
public class ComputerHealthService extends MonitoringBase

Remarks

A health service runs on each Management Server and on each agent-managed computer. A health service can collect information from its host computer, and it can act as a proxy agent that collects information from an agentless-managed computer or network device. A health service collects information using the configuration information provided in installed Management Packs.

You can access ComputerHealthService methods and properties for an agent-managed computer through the derived class AgentManagedComputer.

You can access ComputerHealthService methods and properties for a proxy agent that is managing a remotely managed computer or network device using GetProxyAgent or GetProxyAgent.


Inheritance Hierarchy

System.Object
   Microsoft.EnterpriseManagement.Common.MonitoringBase
    Microsoft.EnterpriseManagement.Administration.ComputerHealthService
       Microsoft.EnterpriseManagement.Administration.AgentManagedComputer
       Microsoft.EnterpriseManagement.Administration.ManagementServer

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also