PartialMonitoringObject::GetMaintenanceWindow Method ()

System Center
 

Applies To: Operations Manager for System Center 2012

Gets the current maintenance mode information.

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

public:
MaintenanceWindow^ GetMaintenanceWindow()

If the PartialMonitoringObjectobject is not in maintenance mode, an exception is thrown. See the ScheduleMaintenanceMode method for information about putting the PartialMonitoringObject object into maintenance mode.

Return to top
Show: