Share via


MonitoringState Class

Definition

This class encompasses the state of a monitoring object.

public ref class MonitoringState : Microsoft::EnterpriseManagement::Common::MonitoringBase
[System.Serializable]
public class MonitoringState : Microsoft.EnterpriseManagement.Common.MonitoringBase
type MonitoringState = class
    inherit MonitoringBase
Public Class MonitoringState
Inherits MonitoringBase
Inheritance
MonitoringState
Derived
Attributes

Properties

HealthState

The current health state.

Id

The Id of the MonitoringState object. This will be null when the state has not yet been collected for a given monitor for a given monitoring object.

LastTimeModified

The last time the state was modified. Null if the state was never initialized.

ManagementGroup

The ManagementGroup the object was instantiated in.

MonitorDescription

The description of the associated Monitor.

MonitorDisplayName

The display name of the associated Monitor.

MonitorId

The Id of the associated Monitor.

MonitoringObjectId
Obsolete.

The Id of the monitoring object whose state this is.

MonitorName

The name of the associated Monitor.

MonitorTargetClassId

The monitors target class id.

MonitorTargetMonitoringClassId
Obsolete.

The monitors target monitoring class id.

ObjectId

The Id of the monitoring object whose state this is.

OperationalState

The current operational state

Methods

Equals(Object)

Checks for equality

GetHashCode()

Gets the hash code for the object

GetMonitoringStateChangeEvents()
Obsolete.

Gets any state change events associated with this state.

GetMonitorTargetMonitoringClass()
Obsolete.

Gets the target class for this monitoring state..

GetStateChangeEvents()

Gets any state change events associated with this state.

Recalculate()

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

Reconnect(EnterpriseManagementGroup)

Reconnects the specified management group.

Reset()

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

Reset(Int32)

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

Applies to