PartialMonitoringObject.InMaintenanceMode Property

System Center

Updated: April 16, 2012

[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
Dim instance As PartialMonitoringObject
Dim value As Boolean

value = instance.InMaintenanceMode

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.

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

 

Community Additions

ADD
Show: