Share via


WebSiteSslCertificate.HostNames Property

Gets or sets an array of hostnames to which the certificate is bound.

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

Usage

'Usage
Dim instance As WebSiteSslCertificate
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

An array of hostnames.

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

WebSiteSslCertificate Class
WebSiteSslCertificate Members
Microsoft.WindowsAzure.Management.WebSites.Models.WebSite Namespace