Share via


IWebCloudService.CheckSiteExists method

Namespace:  Microsoft.Web.Hosting.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<WebGetAttribute(UriTemplate := "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites/{name}?exists")> _
Function CheckSiteExists ( _
    subscriptionName As String, _
    webspaceName As String, _
    name As String _
) As Boolean
'Usage
Dim instance As IWebCloudService
Dim subscriptionName As String
Dim webspaceName As String
Dim name As String
Dim returnValue As Boolean

returnValue = instance.CheckSiteExists(subscriptionName, _
    webspaceName, name)
[WebGetAttribute(UriTemplate = "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites/{name}?exists")]
bool CheckSiteExists(
    string subscriptionName,
    string webspaceName,
    string name
)

Parameters

Return value

Type: System.Boolean

See also

Reference

IWebCloudService interface

IWebCloudService members

Microsoft.Web.Hosting.Administration namespace