Gets a MonitoringObject that represents the Windows computer on which the health service is running. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ComputerHealthService
Dim value As MonitoringObject

value = instance.HostComputer

Syntax

Visual Basic
Public ReadOnly Property HostComputer As MonitoringObject
C#
public MonitoringObject HostComputer { get; }
C++
public:
property MonitoringObject^ HostComputer {
		MonitoringObject^ get ();
}
J#
/** @property */
public MonitoringObject get_HostComputer ()
JScript
public function get HostComputer () : MonitoringObject

Property Value

A MonitoringObject that represents the Windows computer on which the health service is running.

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