PartialMonitoringObject::InMaintenanceMode Property

System Center
 

Applies To: Operations Manager for System Center 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)

public:
property bool InMaintenanceMode {
	bool get();
}

Property Value

Type: System::Boolean

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

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.

For an example of this property, see PartialMonitoringObject

Return to top
Show: