Udostępnij za pośrednictwem


PartialMonitoringObject.StopMaintenanceMode Method (DateTime)

 

Applies To: Operations Manager for System Center 2012

Stops maintenance mode for this object.

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

Syntax

public void StopMaintenanceMode(
    DateTime endTime
)
public:
void StopMaintenanceMode(
    DateTime endTime
)
member StopMaintenanceMode : 
        endTime:DateTime -> unit
Public Sub StopMaintenanceMode (
    endTime As Date
)

Parameters

  • endTime
    Type: System.DateTime

    The time, in DateTime format, to stop maintenance mode

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

When maintenance mode stops by the StopMaintenanceMode method, the MaintenanceModeLastModified property is reset

See Also

ScheduleMaintenanceMode
StopMaintenanceMode Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top