Share via


WebSiteOperationsExtensions.IsHostnameAvailableAsync Method (IWebSiteOperations, String)

 

Determines if a host name is available.

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

Syntax

public static Task<WebSiteIsHostnameAvailableResponse> IsHostnameAvailableAsync(
    this IWebSiteOperations operations,
    string webSiteName
)
public:
[ExtensionAttribute]
static Task<WebSiteIsHostnameAvailableResponse^>^ IsHostnameAvailableAsync(
    IWebSiteOperations^ operations,
    String^ webSiteName
)
static member IsHostnameAvailableAsync : 
        operations:IWebSiteOperations *
        webSiteName:string -> Task<WebSiteIsHostnameAvailableResponse>
<ExtensionAttribute>
Public Shared Function IsHostnameAvailableAsync (
    operations As IWebSiteOperations,
    webSiteName As String
) As Task(Of WebSiteIsHostnameAvailableResponse)

Parameters

  • webSiteName
    Type: System.String

    Required. The name of the web site.

Return Value

Type: System.Threading.Tasks.Task<WebSiteIsHostnameAvailableResponse>

The Is Hostname Available Web Site operation response.

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top