WebPartPersonalization::ProviderName Property
Gets or sets the provider name for personalization.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | An attempt was made to set this property to a value other than its current value after the WebPartManager control's OnInit method has completed. |
This property returns the value set for this property in the page declaration. If this property was not set, it returns Empty. In this case, the page uses the default personalization provider specified in the configuration file.
This property can only be set prior to the completion of the WebPartManager control's OnInit method. This means the ProviderName property must be set in the page declaration on the WebPartManager element. Alternatively, this property can be set during the PreInit phase.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.