Share via


IAdministrationService.StartMaintenanceMode Method

Definition

Starts maintenance mode for a monitoring object.

public:
 void StartMaintenanceMode(Guid managedEntityId, DateTime startTime, DateTime scheduleEndTime, int reason, System::String ^ comments, bool recursive);
public void StartMaintenanceMode (Guid managedEntityId, DateTime startTime, DateTime scheduleEndTime, int reason, string comments, bool recursive);
abstract member StartMaintenanceMode : Guid * DateTime * DateTime * int * string * bool -> unit
Public Sub StartMaintenanceMode (managedEntityId As Guid, startTime As DateTime, scheduleEndTime As DateTime, reason As Integer, comments As String, recursive As Boolean)

Parameters

managedEntityId
Guid

The id of the managed entity.

startTime
DateTime

The start time.

scheduleEndTime
DateTime

The scheduled end time.

reason
Int32

The reason code.

comments
String

The comments

recursive
Boolean

Whether to apply this recursively

Applies to