PartialMonitoringObject.InMaintenanceMode Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets a value indicating whether the monitoring object is in maintenance mode.

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As PartialMonitoringObject
Dim value As Boolean

value = instance.InMaintenanceMode

Syntax

'Declaration
Public ReadOnly Property InMaintenanceMode As Boolean
public bool InMaintenanceMode { get; }
public:
property bool InMaintenanceMode {
    bool get ();
}
/** @property */
public boolean get_InMaintenanceMode ()
public function get InMaintenanceMode () : boolean

Property Value

Returns a Booleantrue if the monitoring object is in maintenance mode; otherwise, false.

Example

For an example of this property, see PartialMonitoringObject

Remarks

When a monitoring object is in maintenance mode, the following features are temporarily suspended.

  1. Rules and monitors

  2. Notifications

  3. Diagnostics and recoveries

  4. State changes

  5. New alerts

To place the InMaintenanceMode object into maintenance mode, use the ScheduleMaintenanceMode method.

To remove the InMaintenanceMode object from maintenance mode, use the StopMaintenanceMode method.

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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

PartialMonitoringObject Class
PartialMonitoringObject Members
Microsoft.EnterpriseManagement.Monitoring Namespace
PartialMonitoringObject.ScheduleMaintenanceMode Method