SPLimitedWebPartManager.ResetAllPersonalizationState method

Delete personalization information for all WebParts in the collection, including type 3 "included for me" WebParts. If the collection contains personalized WebPart information (Storage.AllUsers == Storage) then delete personalization on the WebPart for the current user, otherwise delete it for all users.

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

Syntax

'Declaration
Public Sub ResetAllPersonalizationState
'Usage
Dim instance As SPLimitedWebPartManager

instance.ResetAllPersonalizationState()
public void ResetAllPersonalizationState()

See also

Reference

SPLimitedWebPartManager class

SPLimitedWebPartManager members

Microsoft.SharePoint.WebPartPages namespace