ProviderFeature.Settings Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the configuration settings for the provider.
public:
abstract property Microsoft::Web::Management::Client::ProviderConfigurationSettings ^ Settings { Microsoft::Web::Management::Client::ProviderConfigurationSettings ^ get(); };
public abstract Microsoft.Web.Management.Client.ProviderConfigurationSettings Settings { get; }
member this.Settings : Microsoft.Web.Management.Client.ProviderConfigurationSettings
Public MustOverride ReadOnly Property Settings As ProviderConfigurationSettings
Property Value
A ProviderConfigurationSettings collection.
Examples
The following example gets the value of the Settings property. This code example is part of a larger example provided for the ProviderFeature class. The setting class is displayed in the example provided for the ProviderFeature class.
// Initializes the settings for the provider.
public override ProviderConfigurationSettings Settings
{
get {return new SiteMapProviderConfigurationSettings();}
}
Remarks
The ProviderConfigurationSettings collection contains values that initialize the providers in the provider collection.
You can edit the ProviderConfigurationSettings collection in IIS Manager by selecting the provider and clicking Edit. Modifying the Profile properties and clicking OK will save the revised settings property to the Web.config file (located in the .NET Framework version 2.0 folder).