Share via


IWebCloudService.IsHostNameAvailable method

Namespace:  Microsoft.Web.Hosting.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<WebInvokeAttribute(UriTemplate := "ishostnameavailable/{subDomain}",  _
    Method := "GET")> _
Function IsHostNameAvailable ( _
    subDomain As String _
) As Boolean
'Usage
Dim instance As IWebCloudService
Dim subDomain As String
Dim returnValue As Boolean

returnValue = instance.IsHostNameAvailable(subDomain)
[WebInvokeAttribute(UriTemplate = "ishostnameavailable/{subDomain}", 
    Method = "GET")]
bool IsHostNameAvailable(
    string subDomain
)

Parameters

Return value

Type: System.Boolean

See also

Reference

IWebCloudService interface

IWebCloudService members

Microsoft.Web.Hosting.Administration namespace