Share via


IWebCloudService.DeleteSite method

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

Syntax

'Declaration
<WebInvokeAttribute(UriTemplate := "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites/{name}?deleteMetrics={deleteMetrics}",  _
    Method := "DELETE")> _
Sub DeleteSite ( _
    subscriptionName As String, _
    webspaceName As String, _
    name As String, _
    deleteMetrics As String _
)
'Usage
Dim instance As IWebCloudService
Dim subscriptionName As String
Dim webspaceName As String
Dim name As String
Dim deleteMetrics As String

instance.DeleteSite(subscriptionName, _
    webspaceName, name, deleteMetrics)
[WebInvokeAttribute(UriTemplate = "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites/{name}?deleteMetrics={deleteMetrics}", 
    Method = "DELETE")]
void DeleteSite(
    string subscriptionName,
    string webspaceName,
    string name,
    string deleteMetrics
)

Parameters

See also

Reference

IWebCloudService interface

IWebCloudService members

Microsoft.Web.Hosting.Administration namespace