Compartilhar via


Método WebSiteOperationsExtensions.IsHostnameAvailable

Determines if a host name is available.

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

Uso

'Uso
Dim operations As IWebSiteOperations
Dim webSiteName As String
Dim returnValue As WebSiteIsHostnameAvailableResponse

returnValue = WebSiteOperationsExtensions.IsHostnameAvailable(operations, webSiteName)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function IsHostnameAvailable ( _
    operations As IWebSiteOperations, _
    webSiteName As String _
) As WebSiteIsHostnameAvailableResponse
[ExtensionAttribute] 
public static WebSiteIsHostnameAvailableResponse IsHostnameAvailable (
    IWebSiteOperations operations,
    string webSiteName
)
[ExtensionAttribute] 
public:
static WebSiteIsHostnameAvailableResponse^ IsHostnameAvailable (
    IWebSiteOperations^ operations, 
    String^ webSiteName
)
/** @attribute ExtensionAttribute() */ 
public static WebSiteIsHostnameAvailableResponse IsHostnameAvailable (
    IWebSiteOperations operations, 
    String webSiteName
)
ExtensionAttribute 
public static function IsHostnameAvailable (
    operations : IWebSiteOperations, 
    webSiteName : String
) : WebSiteIsHostnameAvailableResponse

Parâmetros

  • operations
    Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
  • webSiteName
    Required. The name of the web site.

Valor de retorno

The Is Hostname Available Web Site operation response.

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe WebSiteOperationsExtensions
Membros WebSiteOperationsExtensions
Namespace Microsoft.WindowsAzure