PartialMonitoringObject.InMaintenanceMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether this monitoring object is in maintenance mode.
public:
property bool InMaintenanceMode { bool get(); };
public bool InMaintenanceMode { get; }
member this.InMaintenanceMode : bool
Public ReadOnly Property InMaintenanceMode As Boolean
Property Value
Returns a Booleantrue if the monitoring object is in maintenance mode; otherwise, false
.
Examples
For an example of this property, see PartialMonitoringObject
Remarks
When a monitoring object is in maintenance mode, the following features are temporarily suspended.
Rules and monitors
Notifications
Diagnostics and recoveries
State changes
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.