Stops maintenance mode for this object. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As PartialMonitoringObject
Dim endTime As DateTime

instance.StopMaintenanceMode(endTime)

Syntax

Visual Basic
Public Sub StopMaintenanceMode ( _
		endTime As DateTime _
)
C#
public void StopMaintenanceMode (
		DateTime endTime
)
C++
public:
void StopMaintenanceMode (
		DateTime endTime
)
J#
public void StopMaintenanceMode (
		DateTime endTime
)
JScript
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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also