WebSiteUpdateParameters.Enabled Property

Gets or sets a whether the web site is enabled.

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

Usage

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

value = instance.Enabled

instance.Enabled = value

Syntax

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

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

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

Property Value

true if the site is enabled; otherwise, false.

Remarks

Setting this value to false disables the web site.

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

WebSiteUpdateParameters Class
WebSiteUpdateParameters Members
Microsoft.WindowsAzure.Management.WebSites.Models Namespace