PartialMonitoringObject.StopMaintenanceMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stops maintenance mode for this object.
Overloads
StopMaintenanceMode(DateTime, TraversalDepth) |
Stops the current maintenance mode for this object. |
StopMaintenanceMode(DateTime) |
Stops the current maintenance mode for this object. |
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
StopMaintenanceMode(DateTime, TraversalDepth)
Stops the current maintenance mode for this object.
public:
void StopMaintenanceMode(DateTime endTime, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public void StopMaintenanceMode (DateTime endTime, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.StopMaintenanceMode : DateTime * Microsoft.EnterpriseManagement.Common.TraversalDepth -> unit
Public Sub StopMaintenanceMode (endTime As DateTime, traversalDepth As TraversalDepth)
Parameters
- endTime
- DateTime
The end time.
- traversalDepth
- TraversalDepth
Whether or not to stop this maintenance mode window recursively down the containment hierarchy.
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
See also
- <xref:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.ScheduleMaintenanceMode(System.DateTime%2cSystem.DateTime%2cMicrosoft.EnterpriseManagement.Monitoring.MaintenanceModeReason%2cSystem.String%2cMicrosoft.EnterpriseManagement.TraversalDepth)>
Applies to
StopMaintenanceMode(DateTime)
Stops the current maintenance mode for this object.
public:
void StopMaintenanceMode(DateTime endTime);
public void StopMaintenanceMode (DateTime endTime);
member this.StopMaintenanceMode : DateTime -> unit
Public Sub StopMaintenanceMode (endTime As DateTime)
Parameters
- endTime
- DateTime
The end time.
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]() method, the [StopMaintenanceMode Method]() property is reset