Freigeben über


ManagementGroupAdministration.GetComputerHealthServiceByHealthServiceId Method (Guid)

 

Applies To: Operations Manager for System Center 2012

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)

Syntax

public ComputerHealthService GetComputerHealthServiceByHealthServiceId(
    Guid healthServiceId
)
public:
ComputerHealthService^ GetComputerHealthServiceByHealthServiceId(
    Guid healthServiceId
)
member GetComputerHealthServiceByHealthServiceId : 
        healthServiceId:Guid -> ComputerHealthService
Public Function GetComputerHealthServiceByHealthServiceId (
    healthServiceId As Guid
) As ComputerHealthService

Parameters

  • healthServiceId
    Type: System.Guid

    The globally unique identifier (GUID) for the health service you want to reference.

Return Value

Type: Microsoft.EnterpriseManagement.Administration.ComputerHealthService

Returns a ComputerHealthService object that represents the specified health service.

Examples

AgentManagedComputer

GetProxyAgent

SetProxyAgent

GetProxyAgent

M:Microsoft.EnterpriseManagement.Administration.ManagementGroupAdministration.SetProxyAgent(System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Administration.RemotelyManagedDevice},Microsoft.EnterpriseManagement.Administration.ComputerHealthService)

See Also

ManagementGroupAdministration Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top