WebSiteOperationsExtensions.IsHostnameAvailableAsync メソッド
Determines if a host name is available.
名前空間: Microsoft.WindowsAzure
アセンブリ: Microsoft.WindowsAzure.Management.WebSites (Microsoft.WindowsAzure.Management.WebSites.dll)
使用方法
'使用
Dim operations As IWebSiteOperations
Dim webSiteName As String
Dim returnValue As Task(Of WebSiteIsHostnameAvailableResponse)
returnValue = WebSiteOperationsExtensions.IsHostnameAvailableAsync(operations, webSiteName)
構文
'宣言
<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>
パラメーター
- operations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- webSiteName
Required. The name of the web site.
戻り値
The Is Hostname Available Web Site operation response.
スレッド セーフ
この型の public static (Visual Basic では Shared) メンバーはすべてスレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
プラットフォーム
開発プラットフォーム
Windows Vista、Windows 7 および Windows Server 2008
ターゲット プラットフォーム
関連項目
リファレンス
WebSiteOperationsExtensions クラス
WebSiteOperationsExtensions のメンバー
Microsoft.WindowsAzure 名前空間