IAdministrationService.UpdateMaintenanceMode(Guid, DateTime, Int32, String, Boolean) Method

Definition

Updates maintenance mode for a monitoring object.

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

Parameters

managedEntityId
Guid

The id of the managed entity.

scheduleEndTime
DateTime

The scheduled end time.

reason
Int32

The reason code.

comments
String

The comments

recursive
Boolean

Whether to apply this recursively

Applies to