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

Definition

Edit a maintenance schedule.

public:
 void EditMaintenanceSchedule(Guid scheduleId, System::String ^ scheduleName, bool recursive, bool isEnabled, bool isRecurrence, bool isEndTimeSpecified, int duration, int reason, System::String ^ comments, System::String ^ managedEntityIdList, int freqType, int freqInterval, int freqSubdayType, int freqSubdayInterval, int freqRelativeInterval, int freqRecurrenceFactor, DateTime activeStartTime, DateTime activeEndDate);
public void EditMaintenanceSchedule (Guid scheduleId, string scheduleName, bool recursive, bool isEnabled, bool isRecurrence, bool isEndTimeSpecified, int duration, int reason, string comments, string managedEntityIdList, int freqType, int freqInterval, int freqSubdayType, int freqSubdayInterval, int freqRelativeInterval, int freqRecurrenceFactor, DateTime activeStartTime, DateTime activeEndDate);
abstract member EditMaintenanceSchedule : Guid * string * bool * bool * bool * bool * int * int * string * string * int * int * int * int * int * int * DateTime * DateTime -> unit
Public Sub EditMaintenanceSchedule (scheduleId As Guid, scheduleName As String, recursive As Boolean, isEnabled As Boolean, isRecurrence As Boolean, isEndTimeSpecified As Boolean, duration As Integer, reason As Integer, comments As String, managedEntityIdList As String, freqType As Integer, freqInterval As Integer, freqSubdayType As Integer, freqSubdayInterval As Integer, freqRelativeInterval As Integer, freqRecurrenceFactor As Integer, activeStartTime As DateTime, activeEndDate As DateTime)

Parameters

scheduleId
Guid

The guid of the schedule to edit.

scheduleName
String

The name of the schedule.

recursive
Boolean

Whether to apply this recursively

isEnabled
Boolean

Whether to enable this schedule after creation

isRecurrence
Boolean

Whether the schedule is recurring

isEndTimeSpecified
Boolean

Whether the user specified the end time or duration

duration
Int32

The duration for each run of the schedule

reason
Int32

The reason code.

comments
String

The comments

managedEntityIdList
String

Comma seperated list of managed entities tied to this schedule

freqType
Int32

The recurrence frequency type

freqInterval
Int32

The recurrence frequency interval

freqSubdayType
Int32

The recurrence frequency subday type

freqSubdayInterval
Int32

The recurrence frequency subday interval

freqRelativeInterval
Int32

The recurrence frequency relative interval

freqRecurrenceFactor
Int32

The recurrence frequency recurrence factor

activeStartTime
DateTime

The UTC start time

activeEndDate
DateTime

Till when the schedule is active

Applies to