WebPartsPersonalization.DefaultProvider Property
.NET Framework (current version)
Gets or sets the name of the default Web Parts personalization provider.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("defaultProvider", DefaultValue = "AspNetSqlPersonalizationProvider")] [StringValidatorAttribute(MinLength = 1)] public string DefaultProvider { get; set; }
The Providers property contains the Web Parts personalization providers for the current Web application.
The following code example shows how to use the DefaultProvider property. This code example is part of a larger example provided for the WebPartsSection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: