Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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()