Método WebSiteOperationsExtensions.IsHostnameAvailableAsync
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 Task(Of WebSiteIsHostnameAvailableResponse)
returnValue = WebSiteOperationsExtensions.IsHostnameAvailableAsync(operations, webSiteName)
Sintaxe
'Declaração
<ExtensionAttribute> _
Public Shared Function IsHostnameAvailableAsync ( _
operations As IWebSiteOperations, _
webSiteName As String _
) As Task(Of WebSiteIsHostnameAvailableResponse)
[ExtensionAttribute]
public static Task<WebSiteIsHostnameAvailableResponse> IsHostnameAvailableAsync (
IWebSiteOperations operations,
string webSiteName
)
[ExtensionAttribute]
public:
static Task<WebSiteIsHostnameAvailableResponse^>^ IsHostnameAvailableAsync (
IWebSiteOperations^ operations,
String^ webSiteName
)
/** @attribute ExtensionAttribute() */
public static Task<WebSiteIsHostnameAvailableResponse> IsHostnameAvailableAsync (
IWebSiteOperations operations,
String webSiteName
)
ExtensionAttribute
public static function IsHostnameAvailableAsync (
operations : IWebSiteOperations,
webSiteName : String
) : Task<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