PartialMonitoringObject.InMaintenanceMode Property

Updated: April 16, 2012

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)Dim instance As PartialMonitoringObject Dim value As Boolean value = instance.InMaintenanceMode Public ReadOnly Property InMaintenanceMode As Booleanpublic bool InMaintenanceMode { get; }public: property bool InMaintenanceMode { bool get (); }/** @property */ public boolean get_InMaintenanceMode () public function get InMaintenanceMode () : boolean Property ValueReturns a Booleantrue if the monitoring object is in maintenance mode; otherwise, false.

For an example of this property, see PartialMonitoringObject

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms