WebSiteCreateParameters.HostNames Property

Gets or sets the fully qualified domain name for website.

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

Usage

'Usage
Dim instance As WebSiteCreateParameters
Dim value As IList(Of String)

value = instance.HostNames

instance.HostNames = value

Syntax

'Declaration
Public Property HostNames As IList(Of String)
public IList<string> HostNames { get; set; }
public:
property IList<String^>^ HostNames {
    IList<String^>^ get ();
    void set (IList<String^>^ value);
}
/** @property */
public IList<String> get_HostNames ()

/** @property */
public void set_HostNames (IList<String> value)
public function get HostNames () : IList<String>

public function set HostNames (value : IList<String>)

Property Value

The fully qualified domain name.

Remarks

Only one hostname can be specified in the azurewebsites.net domain. The hostname should match the name of the website. Custom domains can only be specified for Shared or Standard websites.

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

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