WebSiteOperationsExtensions.IsHostnameAvailableAsync Method

Definition

Determines if a host name is available.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteIsHostnameAvailableResponse> IsHostnameAvailableAsync (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSiteName);
static member IsHostnameAvailableAsync : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteIsHostnameAvailableResponse>
<Extension()>
Public Function IsHostnameAvailableAsync (operations As IWebSiteOperations, webSiteName As String) As Task(Of WebSiteIsHostnameAvailableResponse)

Parameters

operations
IWebSiteOperations

Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.

webSiteName
String

Required. The name of the web site.

Returns

The Is Hostname Available Web Site operation response.

Applies to