ConnectionStringSettings.ProviderName Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the provider name property.

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

[ConfigurationPropertyAttribute("providerName", DefaultValue = "System.Data.SqlClient")]
public string ProviderName { get; set; }

Property Value

Type: System.String

Gets or sets the ProviderName property.

The following example shows how to use the ProviderName property.

Console.WriteLine("  Provider Name: {0}", 

.NET Framework
Available since 2.0
Return to top