WebSiteOperationsExtensions.IsHostnameAvailableAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.