ProviderSettings::Name Property

 

Gets or sets the name of the provider configured by this class.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
[ConfigurationPropertyAttribute("name", IsRequired = true, IsKey = true)]
property String^ Name {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The name of the provider.

This value of the Name property is the same as the value for the name attribute that appears in the configuration section for the provider that is configured by the ProviderSettings class.

The following code example shows how to access the Name property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: