Share via


PartialMonitoringObject.RecalculateMonitoringState Method

Definition

Recalculates the state of monitors for this monitoring object.

Overloads

RecalculateMonitoringState()

Recalculates the state of all the monitors for this monitoring object.

RecalculateMonitoringState(ManagementPackMonitor)

Recalculates the state of the given monitor for this monitoring object.

RecalculateMonitoringState(Guid)

Recalculates the state of the given monitor for this monitoring object.

RecalculateMonitoringState()

Recalculates the state of all the monitors for this monitoring object.

public:
 Microsoft::EnterpriseManagement::Runtime::TaskResult ^ RecalculateMonitoringState();
public Microsoft.EnterpriseManagement.Runtime.TaskResult RecalculateMonitoringState ();
member this.RecalculateMonitoringState : unit -> Microsoft.EnterpriseManagement.Runtime.TaskResult
Public Function RecalculateMonitoringState () As TaskResult

Returns

Returns a TaskResult object.

Applies to

RecalculateMonitoringState(ManagementPackMonitor)

Recalculates the state of the given monitor for this monitoring object.

public:
 Microsoft::EnterpriseManagement::Runtime::TaskResult ^ RecalculateMonitoringState(Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^ monitor);
public Microsoft.EnterpriseManagement.Runtime.TaskResult RecalculateMonitoringState (Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor monitor);
member this.RecalculateMonitoringState : Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor -> Microsoft.EnterpriseManagement.Runtime.TaskResult
Public Function RecalculateMonitoringState (monitor As ManagementPackMonitor) As TaskResult

Parameters

monitor
ManagementPackMonitor

The monitor to recalculate.

Returns

Returns a TaskResult object.

Exceptions

monitor is null

Applies to

RecalculateMonitoringState(Guid)

Recalculates the state of the given monitor for this monitoring object.

public:
 Microsoft::EnterpriseManagement::Runtime::TaskResult ^ RecalculateMonitoringState(Guid monitorId);
public Microsoft.EnterpriseManagement.Runtime.TaskResult RecalculateMonitoringState (Guid monitorId);
member this.RecalculateMonitoringState : Guid -> Microsoft.EnterpriseManagement.Runtime.TaskResult
Public Function RecalculateMonitoringState (monitorId As Guid) As TaskResult

Parameters

monitorId
Guid

ID of the monitor to recalculate.

Returns

Returns aTaskResult object.

Applies to