PartialMonitoringObject::GetMaintenanceWindow Method ()
System Center
Applies To: Operations Manager for System Center 2012
Gets the current maintenance mode information.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return Value
Type: Microsoft.EnterpriseManagement.Monitoring::MaintenanceWindow^Returns a MaintenanceWindow object.
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.
Show: