Share via


SPContentDatabaseExtension.PreSiteDelete method

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

Syntax

'Declaration
Public MustOverride Sub PreSiteDelete ( _
    siteId As Guid, _
    databaseId As Guid, _
    webAppId As Guid, _
    gradualDelete As Boolean, _
    deleteForMigration As Boolean _
)
'Usage
Dim instance As SPContentDatabaseExtension
Dim siteId As Guid
Dim databaseId As Guid
Dim webAppId As Guid
Dim gradualDelete As Boolean
Dim deleteForMigration As Boolean

instance.PreSiteDelete(siteId, databaseId, _
    webAppId, gradualDelete, deleteForMigration)
public abstract void PreSiteDelete(
    Guid siteId,
    Guid databaseId,
    Guid webAppId,
    bool gradualDelete,
    bool deleteForMigration
)

Parameters

See also

Reference

SPContentDatabaseExtension class

SPContentDatabaseExtension members

Microsoft.SharePoint.Administration namespace