AutoPatchingSettings Class

Definition

Set a patching window during which Windows and SQL patches will be applied.

public class AutoPatchingSettings
type AutoPatchingSettings = class
Public Class AutoPatchingSettings
Inheritance
AutoPatchingSettings

Constructors

AutoPatchingSettings()

Initializes a new instance of the AutoPatchingSettings class.

AutoPatchingSettings(Nullable<Boolean>, Nullable<DayOfWeek>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the AutoPatchingSettings class.

Properties

DayOfWeek

Gets or sets day of week to apply the patch on. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'

Enable

Gets or sets enable or disable autopatching on SQL virtual machine.

MaintenanceWindowDuration

Gets or sets duration of patching.

MaintenanceWindowStartingHour

Gets or sets hour of the day when patching is initiated. Local VM time.

Applies to