Gets the specified health service running on a host computer in the
Management Group.
Namespace:
Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager
(in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Syntax
Visual Basic |
Public Function GetComputerHealthServiceByHealthServiceId ( _
healthServiceId As Guid _
) As ComputerHealthService
|
JScript |
public function GetComputerHealthServiceByHealthServiceId (
healthServiceId : Guid
) : ComputerHealthService
|
Parameters
- healthServiceId
-
The globally unique identifier (GUID) for the health service you
want to reference.
Return Value
A
ComputerHealthService object that represents the specified
health service.
Example
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