Share via


SPContentDatabase.ForceDeleteSite method (Guid, Boolean, Boolean, Boolean, Boolean)

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

Syntax

'Declaration
Public Sub ForceDeleteSite ( _
    siteId As Guid, _
    gradualDelete As Boolean, _
    restorable As Boolean, _
    updateSiteMap As Boolean, _
    deleteIsForMigration As Boolean _
)
'Usage
Dim instance As SPContentDatabase
Dim siteId As Guid
Dim gradualDelete As Boolean
Dim restorable As Boolean
Dim updateSiteMap As Boolean
Dim deleteIsForMigration As Boolean

instance.ForceDeleteSite(siteId, gradualDelete, _
    restorable, updateSiteMap, deleteIsForMigration)
public void ForceDeleteSite(
    Guid siteId,
    bool gradualDelete,
    bool restorable,
    bool updateSiteMap,
    bool deleteIsForMigration
)

Parameters

See also

Reference

SPContentDatabase class

SPContentDatabase members

ForceDeleteSite overload

Microsoft.SharePoint.Administration namespace