IWebCloudService.IsHostNameAvailable 方法
命名空间: Microsoft.Web.Hosting.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<WebInvokeAttribute(UriTemplate := "ishostnameavailable/{subDomain}", _
Method := "GET")> _
Function IsHostNameAvailable ( _
subDomain As String _
) As Boolean
用法
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
)
参数
- subDomain
类型:System.String