PersonalizationProvider.ResetPersonalizationBlob Method

When overridden in a derived class, deletes raw personalization data from the underlying data store.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

protected:
virtual void ResetPersonalizationBlob (
	WebPartManager^ webPartManager, 
	String^ path, 
	String^ userName
) abstract
protected abstract void ResetPersonalizationBlob (
	WebPartManager webPartManager, 
	String path, 
	String userName
)
protected abstract function ResetPersonalizationBlob (
	webPartManager : WebPartManager, 
	path : String, 
	userName : String
)
Not applicable.

Parameters

webPartManager

The WebPartManager managing the personalization data.

path

The path for personalization information to be used as the data store key.

userName

The user name for personalization information to be used as the data store key.

Classes that derive from PersonalizationProvider and implement this method should use the webPartManager, path, and userName parameters as storage keys. Derived implementations must modify the data store so that personalization data for supplied storage keys is effectively deleted. It is up to the derived implementations as to how they physically accomplish this.

The derived personalization provider must be able to distinguish personalization data on a per-page basis. Furthermore, for a given page's state, the personalization provider must be able to distinguish between Shared and User scope data. If a non-a null reference (Nothing in Visual Basic) user name is provided, then the reset operation applies to the User scope; otherwise, the reset operation applies to the Shared scope.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: