Share via


DeletePersonalizations Method

The DeletePersonalizations method of the SPWebPartCollection class deletes personalizations of the Web Part with the specified GUID.

Parameters

storageKey   A GUID that identifies the Web Part.

Remarks

The DeletePersonalizations method removes only the personalizations of the current user if the collection pertains to a single user. Otherwise, this method removes personalizations for all users.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security