IAdministrationService.UpdateMaintenanceMode(Guid, DateTime, Int32, String, Boolean) 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.
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