다음을 통해 공유


WindowsParameters Constructors

Definition

Overloads

WindowsParameters()

Initializes a new instance of the WindowsParameters class.

WindowsParameters(IList<String>, IList<String>, IList<String>, Nullable<Boolean>, Nullable<DateTime>)

Initializes a new instance of the WindowsParameters class.

WindowsParameters()

Initializes a new instance of the WindowsParameters class.

public WindowsParameters ();
Public Sub New ()

Applies to

WindowsParameters(IList<String>, IList<String>, IList<String>, Nullable<Boolean>, Nullable<DateTime>)

Initializes a new instance of the WindowsParameters class.

public WindowsParameters (System.Collections.Generic.IList<string> classificationsToInclude = default, System.Collections.Generic.IList<string> kbNumbersToInclude = default, System.Collections.Generic.IList<string> kbNumbersToExclude = default, bool? excludeKbsRequiringReboot = default, DateTime? maxPatchPublishDate = default);
new Microsoft.Azure.Management.Compute.Models.WindowsParameters : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<DateTime> -> Microsoft.Azure.Management.Compute.Models.WindowsParameters
Public Sub New (Optional classificationsToInclude As IList(Of String) = Nothing, Optional kbNumbersToInclude As IList(Of String) = Nothing, Optional kbNumbersToExclude As IList(Of String) = Nothing, Optional excludeKbsRequiringReboot As Nullable(Of Boolean) = Nothing, Optional maxPatchPublishDate As Nullable(Of DateTime) = Nothing)

Parameters

classificationsToInclude
IList<String>

The update classifications to select when installing patches for Windows.

kbNumbersToInclude
IList<String>

Kbs to include in the patch operation

kbNumbersToExclude
IList<String>

Kbs to exclude in the patch operation

excludeKbsRequiringReboot
Nullable<Boolean>

Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.

maxPatchPublishDate
Nullable<DateTime>

This is used to install patches that were published on or before this given max published date.

Applies to