Share via


SPSiteSubscription.Delete method

Deletes the site subscription and all member SPSite objects.

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

Syntax

'Declaration
Public Sub Delete
'Usage
Dim instance As SPSiteSubscription

instance.Delete()
public void Delete()

Exceptions

Exception Condition
InvalidOperationException

The site subscription object has been deleted.

See also

Reference

SPSiteSubscription class

SPSiteSubscription members

Microsoft.SharePoint namespace