Share via


ConfigurationSet.EnableAutomaticUpdates Property

Gets or sets whether automatic updates are enabled for the Virtual Machine.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As ConfigurationSet
Dim value As Nullable(Of Boolean)

value = instance.EnableAutomaticUpdates

instance.EnableAutomaticUpdates = value

Syntax

'Declaration
Public Property EnableAutomaticUpdates As Nullable(Of Boolean)
public Nullable<bool> EnableAutomaticUpdates { get; set; }
public:
property Nullable<bool> EnableAutomaticUpdates {
    Nullable<bool> get ();
    void set (Nullable<bool> value);
}
/** @property */
public Nullable<boolean> get_EnableAutomaticUpdates ()

/** @property */
public void set_EnableAutomaticUpdates (Nullable<boolean> value)
public function get EnableAutomaticUpdates () : Nullable<boolean>

public function set EnableAutomaticUpdates (value : Nullable<boolean>)

Property Value

true if automatic updates are enabled; otherwise, false. The default value is false.

Remarks

This property is used with the WindowsProvisioningConfiguration configuration type.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ConfigurationSet Class
ConfigurationSet Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace