Condividi tramite


Metodo WebSiteOperationsExtensions.IsHostnameAvailable

Determines if a host name is available.

Spazio dei nomi: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Utilizzo

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

returnValue = WebSiteOperationsExtensions.IsHostnameAvailable(operations, webSiteName)

Sintassi

'Dichiarazione
<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

Parametri

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

Valore restituito

The Is Hostname Available Web Site operation response.

Sicurezza dei thread

Qualsiasi membro statico pubblico (condiviso in Visual Basic) di questo tipo è thread safe. Non è invece garantita la sicurezza dei membri dell'istanza.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows 7 e Windows Server 2008

Piattaforme di destinazione

Vedere anche

Riferimento

Classe WebSiteOperationsExtensions
Membri WebSiteOperationsExtensions
Spazio dei nomi Microsoft.WindowsAzure