Share via


PartialMonitoringObject.StopMaintenanceMode Method (DateTime)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Stops maintenance mode for this object.

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

Usage

'Usage
Dim instance As PartialMonitoringObject
Dim endTime As DateTime

instance.StopMaintenanceMode(endTime)

Syntax

'Declaration
Public Sub StopMaintenanceMode ( _
    endTime As DateTime _
)
public void StopMaintenanceMode (
    DateTime endTime
)
public:
void StopMaintenanceMode (
    DateTime endTime
)
public void StopMaintenanceMode (
    DateTime endTime
)
public function StopMaintenanceMode (
    endTime : DateTime
)

Parameters

  • endTime
    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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

PartialMonitoringObject Class
PartialMonitoringObject Members
Microsoft.EnterpriseManagement.Monitoring Namespace
PartialMonitoringObject.ScheduleMaintenanceMode Method